File: setup.cfg

package info (click to toggle)
grpc 1.51.1-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,328 kB
  • sloc: cpp: 361,873; python: 72,206; ansic: 37,787; objc: 12,434; ruby: 11,521; sh: 7,652; php: 7,615; makefile: 3,481; xml: 3,246; cs: 1,836; javascript: 1,614; java: 465; pascal: 227; awk: 132
file content (46 lines) | stat: -rw-r--r-- 1,252 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Setup settings for GRPC Python

[coverage:run]
plugins = Cython.Coverage

[build]
build_base=python_build

[build_ext]
inplace=1

[build_package_protos]
exclude=.*protoc_plugin/protoc_plugin_test\.proto$

# Style settings
[yapf]
based_on_style = google

[metadata]
license_files = LICENSE

# NOTE(lidiz) Adding examples one by one due to pytype aggressive errer:
# ninja: error: build.ninja:178: multiple rules generate helloworld_pb2.pyi [-w dupbuild=err]
# TODO(xuanwn): include all files in src/python/grpcio/grpc
[pytype]
inputs =
    src/python/grpcio/grpc/experimental
    src/python/grpcio/grpc
    src/python/grpcio_tests/tests_aio
    examples/python/auth
    examples/python/helloworld
exclude =
    **/*_pb2.py
    src/python/grpcio/grpc/framework
    src/python/grpcio/grpc/aio
    src/python/grpcio/grpc/beta
    src/python/grpcio/grpc/__init__.py
    src/python/grpcio/grpc/_channel.py
    src/python/grpcio/grpc/_server.py
    src/python/grpcio/grpc/_simple_stubs.py

# NOTE(lidiz)
# import-error: C extension triggers import-error.
# module-attr: pytype cannot understand the namespace packages by Google.
# attribute-error: Data classes in grpc module doesn't specify attributes.
disable = "import-error,module-attr,attribute-error"