Debian Codegraph @

setup.cfg

raw
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 # TODO(xuanwn): include all files in src/python/grpcio/grpc
25 [pytype]
26 inputs =
27 src/python/grpcio/grpc/experimental
28 src/python/grpcio/grpc
29 src/python/grpcio_tests/tests_aio
30 examples/python/auth
31 examples/python/helloworld
32 exclude =
33 **/*_pb2.py
34 src/python/grpcio/grpc/framework
35 src/python/grpcio/grpc/aio
36 src/python/grpcio/grpc/beta
37 src/python/grpcio/grpc/__init__.py
38 src/python/grpcio/grpc/_channel.py
39 src/python/grpcio/grpc/_server.py
40 src/python/grpcio/grpc/_simple_stubs.py
41
42 # NOTE(lidiz)
43 # import-error: C extension triggers import-error.
44 # module-attr: pytype cannot understand the namespace packages by Google.
45 # attribute-error: Data classes in grpc module doesn't specify attributes.
46 disable = "import-error,module-attr,attribute-error"