Skip to content

Commit 571488a

Browse files
authored
Add deptry in pre-commit config and two new requirements (#91)
The requirements were transitive, but we are using them directly, so they should be in the requirements.
1 parent 5ab9e67 commit 571488a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,11 @@ repos:
4040
- id: mypy
4141
additional_dependencies: [types-docutils, types-polib>=1.2.0.20250114, types-requests]
4242

43+
- repo: https://github.com/francescorubbo/deptry-pre-commit
44+
rev: v0.23.0
45+
hooks:
46+
- id: deptry
47+
args: ["--per-rule-ignores", "DEP002=python-docs-theme", "--package-module-name-map", "gitpython=git,sphinx-lint=sphinxlint"]
48+
4349
ci:
4450
autoupdate_schedule: quarterly

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
gitpython
2+
urllib3
23
potodo
4+
polib
35
jinja2
46
docutils
57
sphinx

0 commit comments

Comments
 (0)