Skip to content

Configure deptry, fix dependency issues, and add to CI#12

Merged
grantps merged 3 commits intosofastats:mainfrom
ben-denham:deptry-ci
Mar 9, 2026
Merged

Configure deptry, fix dependency issues, and add to CI#12
grantps merged 3 commits intosofastats:mainfrom
ben-denham:deptry-ci

Conversation

@ben-denham
Copy link
Member

Resolves #10

@grantps grantps merged commit 0e93d6a into sofastats:main Mar 9, 2026
10 checks passed

- name: Run deptry
run: |
uv run deptry --github-output . --ignore DEP004
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we shouldn't need to run deptry twice in CI.

minversion = "7"

[tool.deptry]
exclude = [".venv"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deptry loads the .gitignore and excludes it by default; I don't think this should be necessary

known_first_party = ["sofastats", "sofastats_examples","process_designs"]

[tool.deptry.per_rule_ignores]
# pyparsing is unused, but is an explicitly listed dependency to constrain its version for Python 3.11 support.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per #10, I think this warrants further explanation in the comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run deptry in CI and fix broken dependency declarations

3 participants