-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (75 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (75 loc) · 1.93 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
[tool.poetry]
name = "commitvigil"
version = "0.1.0"
description = "FastAPI lab for extracting commitments from chat and Git commit text."
license = "MIT"
authors = ["daretechie <deeprince2020@gmail.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
fastapi = {extras = ["standard"], version = "^0.128.0"}
instructor = "^1.14.4"
pydantic-settings = "^2.12.0"
structlog = "^25.5.0"
apscheduler = "^3.11.2"
prometheus-fastapi-instrumentator = "^7.1.0"
pytest = "^8.3.0"
arq = "^0.26.3"
redis = "^5.2.0"
jinja2 = "^3.1.3"
tenacity = "^9.1.2"
bandit = "^1.9.0"
pytest-asyncio = "^0.23.5"
httpx = "^0.27.0"
aiosqlite = "^0.20.0"
groq = "^1.0.0"
sqlmodel = "^0.0.31"
asyncpg = "^0.31.0"
alembic = "^1.18.1"
psycopg2-binary = "^2.9.11"
fastapi-limiter = "^0.1.6"
[tool.poetry.group.dev.dependencies]
ruff = "^0.14.14"
pytest-cov = "^7.0.0"
mkdocs-material = "^9.7.1"
mkdocstrings = {extras = ["python"], version = "^1.0.2"}
mypy = "^1.19.1"
pip-audit = "^2.7.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = [
"ignore::DeprecationWarning:pytest_asyncio.*:",
"ignore::DeprecationWarning:asyncio.*:",
"ignore::RuntimeWarning:fastapi.*:",
]
[tool.ruff]
target-version = "py312"
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"PT", # flake8-pytest-style
]
ignore = ["E501"] # Ignore long lines handled by formatter
[tool.ruff.isort]
known-first-party = ["src"]
[tool.mypy]
python_version = "3.12"
strict = true
ignore_missing_imports = true
exclude = ["migrations/", "tests/"]
[tool.bandit]
exclude_dirs = ["tests", "migrations"]
tests = ["B201", "B301"]