forked from public/sonora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (50 loc) · 1.29 KB
/
pyproject.toml
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
[tool.poetry]
name = "sonora"
version = "0.2.3"
description = "A WSGI and ASGI compatible grpc-web implementation."
authors = ["Alex Stapleton <alexs@prol.etari.at>"]
license = "Apache-2.0"
homepage = "https://github.com/public/sonora"
[tool.poetry.dependencies]
python = "^3.8"
grpcio = "^1.57.0"
grpcio-status = "^1.57.0"
urllib3 = "^1.26.4"
aiohttp = "^3.7.4"
async-timeout = ">= 3.0.1, < 5"
httpx = "^0.28.1"
[tool.poetry.dev-dependencies]
grpcio-tools = "^1.57.0"
pytest = "^6.2.3"
pytest-mockservers = "^0.6.0"
pytest-asyncio = "^0.15.1"
pytest-benchmark = "^3.4.1"
hypothesis = "^6.10.1"
bjoern = "^3.2.2"
uvicorn = "^0.13.4"
aiohttp = { extras = ["speedups"], version = "^3.7.4" }
tox = "^3.23.0"
daphne = "^3.0.2"
mypy = "0.910"
types-protobuf = "^3.17.4"
grpc-stubs = "^1.24.7"
black = { version = "^21.12b0", allow-prereleases = true }
[tool.poetry.group.dev.dependencies]
twisted = { version = "^24.10.0", extras = ["http2"] }
nonecorn = "^0.17.3"
a2wsgi = "^1.10.7"
pyright = "^1.1.390"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = ".*_pb2.py$|echotest.py$"
[[tool.mypy.overrides]]
module = ["grpc.*", "urllib3.*", "uvicorn.*", "daphne.*", "bjoern.*"]
ignore_missing_imports = true
[tool.black]
extend-exclude = '''
(
.*_pb2.pyi
)
'''