Imported Upstream version 1.38.1
[platform/upstream/grpc.git] / setup.cfg
1 # Setup settings for GRPC Python
2
3 [coverage:run]
4 plugins = Cython.Coverage
5
6 [build]
7 build_base=python_build
8
9 [build_ext]
10 inplace=1
11
12 [build_package_protos]
13 exclude=.*protoc_plugin/protoc_plugin_test\.proto$
14
15 # Style settings
16 [yapf]
17 based_on_style = google
18
19 [metadata]
20 license_files = LICENSE
21
22 # NOTE(lidiz) Adding examples one by one due to pytype aggressive errer:
23 # ninja: error: build.ninja:178: multiple rules generate helloworld_pb2.pyi [-w dupbuild=err]
24 [pytype]
25 inputs =
26     src/python/grpcio/grpc/experimental
27     src/python/grpcio_tests/tests_aio
28     examples/python/auth
29     examples/python/helloworld
30
31 # NOTE(lidiz)
32 # import-error: C extension triggers import-error.
33 # module-attr: pytype cannot understand the namespace packages by Google.
34 # attribute-error: Data classes in grpc module doesn't specify attributes.
35 disable = "import-error,module-attr,attribute-error"