setup.cfg 879 B

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