-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (42 loc) · 986 Bytes
/
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
[tool.poetry]
name = "Kafka-example"
version = "0.1.0"
description = "Example of clients on python, for work with kafka"
authors = ["tg - @maxalxeev"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
orjson = "^3.10.6"
aiokafka = "^0.11.0"
confluent-kafka = "^2.5.3"
pydantic = "2.7.1"
pydantic-settings = "2.2.1"
pydantic-core = "2.18.2"
python-dotenv = "^1.0.1"
[tool.poetry.group.local.dependencies]
ruff = "^0.6.8"
pre-commit = "^3.8.0"
mypy = "^1.11.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
exclude = ["tests/",]
line-length = 120
target-version = "py312"
[tool.mypy]
python_version = "3.12"
mypy_path = "src"
ignore_missing_imports = true
explicit_package_bases = true
plugins = [
"pydantic.mypy",
]
[tool.pydantic-mypy]
follow_imports = "skip"
ignore_missing_imports=true
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
strict_optional = true