Skip to content

Commit 5bb9f69

Browse files
committed
Add a pylock managed by pdm
Signed-off-by: Samuel Monson <[email protected]>
1 parent 9771198 commit 5bb9f69

File tree

4 files changed

+3376
-0
lines changed

4 files changed

+3376
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ repos:
66
exclude: ^tests/?.*/assets/.+
77
- id: end-of-file-fixer
88
exclude: ^tests/?.*/assets/.+
9+
- repo: https://github.com/pdm-project/pdm
10+
rev: 2.25.4
11+
hooks:
12+
- id: pdm-lock-check
13+
name: check lock file matches pyproject
914
- repo: https://github.com/astral-sh/ruff-pre-commit
1015
rev: v0.11.7
1116
hooks:

pdm.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[lock]
2+
format = "pylock"

0 commit comments

Comments
 (0)