-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (97 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
107 lines (97 loc) · 2.49 KB
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
[project]
name = "aio-fluid"
version = "1.8.9"
description = "Tools for backend python services"
authors = [ { name = "Luca Sbardella", email = "luca@quantmind.com" } ]
license = "BSD"
readme = "readme.md"
requires-python = ">=3.11,<4.0"
dependencies = [
"inflection >= 0.5.1",
"redis[hiredis] >= 7.2.1",
"pydantic >= 2.9.2",
"yarl >= 1.15.5",
"fastapi >= 0.115.2",
"uvicorn >= 0.34.0",
"typing-extensions >= 4.12.2",
]
[tool.poetry]
packages = [ { include = "fluid" } ]
[project.urls]
"Repository" = "https://github.com/quantmind/aio-fluid"
"Issues" = "https://github.com/quantmind/aio-fluid/issues"
[project.optional-dependencies]
cli = [ "click >= 8.1.7", "pydanclick >= 0.5.0", "rich >= 13.7.1" ]
console = [ "aioconsole >= 0.8.2" ]
db = [
"alembic >= 1.13.2",
"asyncpg >= 0.30.0",
"click >= 8.1.7",
"psycopg2-binary >= 2.9.9",
"pydanclick >= 0.5.0",
"python-dateutil >= 2.9.0",
"rich >= 13.7.1",
"sqlalchemy >= 2.0.23",
"sqlalchemy-utils >= 0.41.2",
]
dev = [
"black >= 26.1.0",
"ipython >= 9.10.0",
"isort >= 8.0.1",
"mypy >= 1.16.1",
"pytest >= 9.0.2",
"pytest-asyncio >= 1.3.0",
"pytest-cov >= 7.0.0",
"python-dotenv >= 1.0.1",
"ruff >= 0.15.4",
"types-python-dateutil >= 2.9.0.20240316",
"types-redis >= 4.6.0.3",
]
docs = [
"griffe-pydantic >= 1.1.0",
"griffe-typingdoc >= 0.3.1",
"mkdocs-macros-plugin >= 1.3.7",
"mkdocs-material >= 9.7.0",
"mkdocs-redirects >= 1.2.1",
"mkdocstrings[python] >= 1.0.3",
]
http = [
"aiohttp >= 3.10.10",
"httpx >= 0.28.1",
"prometheus-client >= 0.21.0",
"python-slugify >= 8.0.4",
]
k8s = [
"kubernetes >= 32.0.0",
"kubernetes-asyncio >= 32.0.0",
"python-slugify >= 8.0.4",
]
log = [ "python-json-logger >= 3.2.1" ]
[build-system]
requires = [ "poetry-core>=1.0.0" ]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "module"
testpaths = [ "tests" ]
markers = [ "flaky: marks test as flaky" ]
[tool.isort]
profile = "black"
[tool.ruff]
lint.select = [ "A", "E", "W", "F", "I", "B", "N" ]
line-length = 88
exclude = [ "examples/db/migrations" ]
[tool.mypy]
exclude = "examples/db/migrations"
[[tool.mypy.overrides]]
module = [
"aioconsole.*",
"kubernetes.*",
"kubernetes_asyncio.*",
"sqlalchemy_utils.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
disable_error_code = [ "return" ]