forked from d5h-foss/grpc-interceptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (48 loc) · 1.4 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
[tool.poetry]
name = "grpc-interceptor"
version = "0.15.4"
description = "Simplifies gRPC interceptors"
license = "MIT"
readme = "README.md"
homepage = "https://github.com/d5h-foss/grpc-interceptor"
repository = "https://github.com/d5h-foss/grpc-interceptor"
keywords = ["grpc", "interceptor"]
authors = ["Dan Hipschman"]
documentation = "https://grpc-interceptor.readthedocs.io"
[tool.poetry.dependencies]
python = "^3.7"
grpcio = "^1.62.1"
# https://github.com/protocolbuffers/protobuf/issues/10075
protobuf = {version = ">=4.21.9", optional = true}
[tool.poetry.extras]
testing = ["protobuf"]
[tool.poetry.dev-dependencies]
pytest = "^6.1.0"
grpcio-tools = "^1.49.1"
coverage = {extras = ["toml"], version = "^7.2.3"}
pytest-cov = "^2.10.0"
black = "^23.3.0"
flake8 = "^5.0.0"
flake8-bandit = "^4.1.1" # https://github.com/tylerwince/flake8-bandit/issues/21
flake8-bugbear = "^20.1.4"
flake8-import-order = "^0.18.1"
safety = "^1.9.0"
mypy = "^1.2.0"
mypy-protobuf = "^1.23"
flake8-docstrings = "^1.5.0"
sphinx = "^3.1.2"
xdoctest = "^0.13.0"
pytest-asyncio = {version = "^0.19.0", python = ">=3.7"}
[tool.coverage.paths]
source = ["src"]
[tool.coverage.run]
branch = true
source = ["grpc_interceptor"]
omit = ["*_pb2.py", "*_pb2_grpc.py"]
[tool.coverage.report]
show_missing = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"