Skip to content

Commit d08907e

Browse files
chore: cleanup deps
1 parent 664f9a7 commit d08907e

File tree

2 files changed

+74
-511
lines changed

2 files changed

+74
-511
lines changed

pyproject.toml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ dependencies = [
1111
"bcrypt==4.0.1",
1212
"colorama<1.0.0,>=0.4.5",
1313
"cryptography>=44.0.1,<45.0.0",
14-
"exceptiongroup<2.0.0,>=1.2.2",
1514
"fastapi>=0.115.6",
1615
"gunicorn<24.0.0,>=23.0.0",
1716
"icecream<3.0.0,>=2.1.3",
1817
"Jinja2<4.0.0,>=3.1.5",
1918
"python-jose[cryptography]<4.0.0,>=3.4.0",
20-
"numpy<3.0.0,>=2.2.1",
2119
"pandas<3.0.0,>=2.2.3",
2220
"passlib[bcrypt]<2.0.0,>=1.7.4",
2321
"pony<1.0.0,>=0.7.16",
@@ -35,10 +33,9 @@ requires-python = ">=3.11,<3.12"
3533

3634
[project.optional-dependencies]
3735
dev = [
36+
"deptry>=0.23.0",
3837
"ipython<9.0.0,>=8.31.0",
3938
"playwright<2.0.0,>=1.49.1",
40-
"poetry-plugin-export<2.0.0,>=1.8.0",
41-
"poetry-plugin-up<1.0.0,>=0.7.1",
4239
"pyclean<4.0.0,>=3.0.0",
4340
"rich<14.0.0,>=13.9.4",
4441
"ruff>=0.9.6",
@@ -52,6 +49,38 @@ test = [
5249
"requests-mock<2.0.0,>=1.12.1",
5350
]
5451

52+
[tool.deptry]
53+
# DEP001: contains missing dependencies
54+
# DEP003: transitive deps
55+
ignore = [
56+
"DEP001",
57+
"DEP003",
58+
]
59+
60+
[tool.deptry.per_rule_ignores]
61+
# DEP002: not used in codebase (excluding dev deps)
62+
DEP002 = [
63+
"bcrypt",
64+
"deptry",
65+
"gunicorn",
66+
"ipython",
67+
"Jinja2",
68+
"mypy",
69+
"pyclean",
70+
"psycopg2-binary",
71+
"pytest",
72+
"pytest-asyncio",
73+
"pytest-cov",
74+
"pytest-datafiles",
75+
"pytest-xdist",
76+
"python-multipart",
77+
"requests-mock",
78+
"rich",
79+
"ruff",
80+
"uvicorn",
81+
"wheel",
82+
]
83+
5584
[tool.pytest.ini_options]
5685
testpaths = ["tests"]
5786
python_files = ["test_*.py"]

0 commit comments

Comments
 (0)