forked from kpn/kstreams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
124 lines (113 loc) · 2.35 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[tool.poetry]
name = "kstreams"
version = "0.17.2"
description = "Build simple kafka streams applications"
authors = ["Marcos Schroh <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
keywords = ["stream", "processing", "kafka", "event streaming"]
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: System :: Networking",
"Topic :: System :: Distributed Computing",
"Framework :: AsyncIO",
]
[tool.poetry.dependencies]
python = "^3.8"
aiokafka = "<1.0"
prometheus-client = "<1.0"
future = "^0.18.2"
PyYAML = ">=5.4,<7.0.0"
pydantic = ">=2.0.0,<3.0.0"
[tool.poetry.dev-dependencies]
pytest = "^6.1"
mypy = "^1.8.0"
pytest-httpserver = "<1.0"
pytest-cov = "^2.11.1"
jedi = "0.17.2"
mkdocs = "^1.1.2"
uvicorn = "<1.0"
commitizen = "^2.27.1 "
pytest-asyncio = "^0.18.3"
fastapi = "^0.103.1"
mkdocs-material = "^8.3.9"
starlette-prometheus = "^0.9.0"
codecov = "^2.1.12"
mkdocstrings = {version = "^0.22.0", extras = ["python"]}
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.commitizen]
version = "0.17.2"
tag_format = "$version"
version_files = [
"pyproject.toml:version",
]
update_changelog_on_bump = true
major_version_zero = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
log_level = "DEBUG"
[[tool.mypy.overrides]]
module = "aiokafka.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "prometheus_client.*"
ignore_missing_imports = true
[tool.ruff]
line-length = 88
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
".venv",
]
[tool.ruff.lint]
select = [
# pycodestyle"
"E4",
"E7",
"E9",
"E501",
# Pyflakes
"F",
# isort
"I001"
]