1# Setup settings for GRPC Python
2
3[coverage:run]
4plugins = Cython.Coverage
5
6[build]
7build_base=python_build
8
9[build_ext]
10inplace=1
11
12[build_package_protos]
13exclude=.*protoc_plugin/protoc_plugin_test\.proto$
14
15# Style settings
16[yapf]
17based_on_style = google
18
19[metadata]
20license_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]
25inputs =
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.
35disable = "import-error,module-attr,attribute-error"
36