grpclib/setup.cfg

45 lines
896 B
INI
Raw Normal View History

2017-07-12 13:57:05 +00:00
[tool:pytest]
addopts = -q --tb=native
testpaths = tests
filterwarnings =
ignore::DeprecationWarning:h2.*
ignore::DeprecationWarning:hyperframe.*
ignore::DeprecationWarning:google.*
2019-04-28 13:35:51 +00:00
[coverage:run]
source = grpclib
omit =
grpclib/plugin/main.py
*_pb2.py
*_grpc.py
[coverage:report]
skip_covered = true
sort = miss
[flake8]
2019-03-12 14:08:05 +00:00
exclude = .git,.tox,env,*_pb2.py,*_grpc.py
max_line_length = 80
2019-05-03 11:37:41 +00:00
[mypy]
2019-05-31 20:09:20 +00:00
follow_imports = silent
2019-05-03 11:37:41 +00:00
; strict mode:
warn_unused_configs = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
[mypy-helloworld.helloworld_pb2_grpc]
ignore_errors = true
[mypy-_reference.*]
ignore_errors = true