forked from vmagamedov/grpclib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
100 lines (87 loc) · 2.34 KB
/
setup.cfg
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[metadata]
name = grpclib
version = attr: grpclib.__version__
license = BSD-3-Clause
license_file = LICENSE.txt
description = Pure-Python gRPC implementation for asyncio
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Vladimir Magamedov
author_email = [email protected]
url = https://github.com/vmagamedov/grpclib
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Topic :: Internet :: WWW/HTTP :: HTTP Servers
Topic :: Software Development :: Libraries :: Python Modules
[options]
packages = find:
python_requires = >=3.8
install_requires=
h2<5,>=3.1.0
multidict
[options.extras_require]
protobuf =
protobuf>=3.20.0
[options.entry_points]
console_scripts =
protoc-gen-python_grpc=grpclib.plugin.main:main
protoc-gen-grpclib_python=grpclib.plugin.main:main
[options.package_data]
* = *.pyi
grpclib =
py.typed
[tool:pytest]
addopts = -q --tb=native
testpaths = tests
asyncio_mode = auto
filterwarnings =
error
ignore:.*pkg_resources.*:DeprecationWarning
ignore:.*google.*:DeprecationWarning
ignore:.*utcfromtimestamp.*:DeprecationWarning
ignore::ResourceWarning
[coverage:run]
source = grpclib
omit =
grpclib/plugin/main.py
*_pb2.py
*_grpc.py
[coverage:report]
skip_covered = true
sort = miss
[flake8]
exclude = .git,.tox,env,*_pb2.py,*_grpc.py
max_line_length = 80
[mypy]
follow_imports = silent
; 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
[mypy-h2.*]
ignore_missing_imports = true
[mypy-google.rpc.*]
ignore_missing_imports = true