-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.36 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
58
59
60
61
[tool.poetry]
name = "python-fast-grpc"
version = "0.2.10"
description = "Fast to Code gRPC in Python"
authors = ["taogeYT <[email protected]>"]
readme = "README.md"
packages = [{include = "fast_grpc"}]
repository = "https://github.com/taogeYT/fast-grpc"
[tool.poetry.dependencies]
python = ">=3.9"
protobuf = ">=4.21.1"
grpcio = ">=1.43.0"
grpcio-tools = ">=1.43.0"
pydantic = ">=2.0,<3.0.0"
logzero = ">=1.7.0,<2.0.0"
jinja2 = ">=2.11.2"
grpcio-reflection = ">=1.43.0"
[tool.poetry.group.dev.dependencies]
ruff = "0.2.0"
mypy = "^1.10.1"
pytest = "^8.2.2"
pytest-asyncio = "^0.23.7"
pytest-mock = "^3.14.0"
ipython = "8.0"
aiosqlite = "^0.20.0"
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.31"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.9"
plugins = ["pydantic.mypy"]
ignore_missing_imports = true
allow_redefinition = true
no_implicit_optional = true
local_partial_types = true
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
[tool.black]
target-version = [ "py37" ]
line-length = 120
skip-numeric-underscore-normalization = true
exclude = 'dist|build|\.venv|\.git|\.mypy_cache'
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-svv -p no:warnings"
testpaths = ["tests"]
asyncio_mode = "auto"