Skip to content

Commit f9dddb2

Browse files
tschmclaude
andcommitted
Fix deptry: drop unused deps and mark dev group as dev-only
deptry (which scans only src/) reported five DEP002 findings: - pytz and pyarrow were declared as runtime dependencies but are not imported anywhere in src/ or tests/. Removed them. - pytest, pytest-cov and httpx are test-only tooling used under tests/, which deptry does not scan, so they were flagged as unused. Configured pep621_dev_dependency_groups = ["dev"] so deptry treats that optional group as dev dependencies. Lockfile regenerated to drop pyarrow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9bda0e8 commit f9dddb2

2 files changed

Lines changed: 5 additions & 49 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ dependencies = [
2525
"numpy>=1.26.0,<3.0.0",
2626
"pydantic>=2.7.0,<3.0.0",
2727
"uvicorn[standard]>=0.24.0,<1.0.0",
28-
"pytz>=2024.1,<2026.0",
29-
"pyarrow>=22.0.0,<23.0.0",
3028
]
3129

3230
[project.optional-dependencies]
@@ -36,6 +34,11 @@ dev = [
3634
"httpx>=0.27.0,<0.29.0",
3735
]
3836

37+
[tool.deptry]
38+
# The "dev" optional-dependency group holds test-only tooling that is used
39+
# under tests/ (which deptry does not scan), not in the src/ package.
40+
pep621_dev_dependency_groups = ["dev"]
41+
3942
[project.urls]
4043
Homepage = "https://github.com/alihaskar/pycharting"
4144
Repository = "https://github.com/alihaskar/pycharting"

uv.lock

Lines changed: 0 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)