Skip to content

Commit f6f5dbc

Browse files
committed
uv build
1 parent bd723df commit f6f5dbc

4 files changed

Lines changed: 48 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
- name: Run type checking
3737
run: uv run pyright
3838

39+
- name: Run dependency analysis
40+
run: uv run deptry .
41+
3942
- name: Run tests
4043
run: uv run pytest -q --color=yes
4144

.github/workflows/python-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- name: Run type checking
4343
run: uv run pyright
4444

45+
- name: Run dependency analysis
46+
run: uv run deptry .
47+
4548
- name: Run tests
4649
run: uv run pytest -q --color=yes
4750

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ dev = [
3737
"ruff>=0.7.0",
3838
"pre-commit>=3.0",
3939
"pydoclint>=0.3.0",
40-
"pyright>=1.1.0"
40+
"pyright>=1.1.0",
41+
"deptry>=0.20.0"
4142
]
4243
test = [
4344
"pytest>=7.0",
@@ -152,3 +153,7 @@ reportUnknownParameterType = false
152153
reportUnknownVariableType = false
153154
reportUnknownMemberType = false
154155
reportUnknownArgumentType = false
156+
157+
[tool.deptry]
158+
extend_exclude = ["tests", "docs", "examples"]
159+
per_rule_ignores = { DEP002 = ["pytest", "pytest-cov", "pre-commit", "pydoclint", "pyright", "sphinx", "furo", "sphinx-autodoc-typehints", "nbsphinx", "ipython", "jupyter", "pandoc"] }

uv.lock

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

0 commit comments

Comments
 (0)