-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (60 loc) · 1.53 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
62
63
64
65
66
67
68
69
70
71
72
[tool.poetry]
name = "esdb"
version = "0.3.5"
description = "gRPC client for EventStore DB"
authors = ["Andrii Kohut <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/andriykohut/esdb-py"
repository = "https://github.com/andriykohut/esdb-py"
keywords = ["eventstore", "esdb", "event sourcing", "cqrs", "event-sourcing", "grpcio", "grpc"]
packages = [
{ include = "esdb" },
]
exclude = ["EventStore", "certs", "es_config", "protos"]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
grpcio = ">=1.4.0"
protobuf = ">=4.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.3.0"
mypy-protobuf = "^3.4.0"
black = ">=23.3,<25.0"
pytest = ">=7.3.1,<9.0.0"
isort = "^5.12.0"
pytest-asyncio = ">=0.21,<0.24"
grpcio-tools = "^1.54.2"
grpc-stubs = "^1.53.0.2"
pytest-cov = ">=4.1,<6.0"
ruff = ">=0.5.1,<0.5.6"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
exclude = ["esdb/generated"]
[tool.black]
line-length = 119
exclude = "esdb/generated"
[tool.isort]
profile = "black"
skip_glob = "esdb/generated/*"
[tool.pytest.ini_options]
filterwarnings = [
"ignore:::.*grpc.aio._channel:287",
"ignore:::.*grpc.aio._channel:288",
]
[tool.coverage.run]
branch = true
omit = ["esdb/generated/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"@(abc.)?abstractmethod",
]
[tool.ruff]
line-length = 119
exclude = ["esdb/generated/*"]