-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (46 loc) · 1.1 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
[tool.poetry]
name = "FastStream overview"
version = "0.1.0"
description = "Example of works with FastStream framework"
authors = ["tg - @maxalxeev"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
faststream = {extras = ["cli", "kafka", "prometheus"], version = "^0.5.28"}
pydantic = "2.9.2"
pydantic-settings = "2.6.0"
granian = "1.6.1"
fastapi = "^0.115.3"
faker = "^30.8.1"
confluent-kafka = "^2.6.0"
orjson = "^3.10.11"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
[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