Skip to content

Commit 446def9

Browse files
authored
Merge pull request #16 from render-engine/jm-re-cli-add-deptry
add deptry to pre-commit
2 parents 301bd0f + d2eb767 commit 446def9

5 files changed

Lines changed: 279 additions & 3 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ cython_debug/
182182
.abstra/
183183

184184
# Visual Studio Code
185-
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
185+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
186186
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
187-
# and can be added to the global gitignore or merged into this file. However, if you prefer,
187+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
188188
# you could uncomment the following to ignore the entire vscode folder
189189
# .vscode/
190190

.markdownlint.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
},
77
"MD041": false
88
}
9-

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,11 @@ repos:
2424
rev: v0.6.0
2525
hooks:
2626
- id: markdownlint-cli2
27+
- repo: local
28+
hooks:
29+
- id: deptry
30+
name: deptry
31+
entry: uv run deptry .
32+
language: system
33+
always_run: true
34+
pass_filenames: false

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ dependencies = [
1313
"toml>=0.10.2"
1414
]
1515

16+
[dependency-groups]
1617
dev = [
1718
"pytest",
1819
"pytest-cov",
1920
"ty",
21+
"deptry"
2022
]

0 commit comments

Comments
 (0)