Skip to content

Commit 04b18b4

Browse files
committed
chore: Officially support PDM 2.25, pylock
1 parent b6e33ba commit 04b18b4

File tree

6 files changed

+510
-472
lines changed

6 files changed

+510
-472
lines changed

.mise.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools]
2-
pdm = "2.24"
3-
python = ["3.12", "3.13.3", "3.11", "3.10", "3.9"]
2+
pdm = "2.25"
3+
python = ["3.12", "3.13", "3.11", "3.10", "3.9"]

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repos:
4646
verbose: true
4747
files: ^db\.py|README\.md$
4848

49-
- rev: v0.11.6
49+
- rev: v0.11.13
5050
repo: https://github.com/astral-sh/ruff-pre-commit
5151
hooks:
5252
- id: ruff

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PDM and Poetry plugin to sync your pre-commit versions with your lockfile and au
2424
## Supported versions
2525

2626
- Python 3.9+ to 3.13+
27-
- PDM 2.7.4 to 2.24+
27+
- PDM 2.7.4 to 2.25+
2828
- Python 3.12.7+ requires PDM 2.20.1+
2929
- Poetry 1.6 to 2.1+
3030

@@ -96,7 +96,7 @@ dependency-mapping = {"package-name"= {"repo"= "https://github.com/example/packa
9696
Some settings are overridable by environment variables with the following `SYNC_PRE_COMMIT_LOCK_*` prefixed environment variables:
9797

9898
| `toml` setting | environment | format |
99-
| ------------------------------|----------------------------------------|-----------------------------------|
99+
| ----------------------------- | -------------------------------------- | --------------------------------- |
100100
| `automatically-install-hooks` | `SYNC_PRE_COMMIT_LOCK_INSTALL` | `bool` as string (`true`, `1`...) |
101101
| `disable-sync-from-lock` | `SYNC_PRE_COMMIT_LOCK_DISABLED` | `bool` as string (`true`, `1`...) |
102102
| `ignore` | `SYNC_PRE_COMMIT_LOCK_IGNORE` | comma-separated list |
@@ -184,7 +184,7 @@ Feel free to open an issue or a PR if you have any idea, or if you want to help!
184184

185185
### Features or fixes
186186

187-
- [X] Support hooks URL aliases for the same Python package
187+
- [x] Support hooks URL aliases for the same Python package
188188
- [ ] Support user configuration of aliases
189189
- [ ] Support `pdm config` and clear configuration precedence
190190
- [ ] Create a more verbose command
@@ -199,7 +199,6 @@ Feel free to open an issue or a PR if you have any idea, or if you want to help!
199199
- [ ] Warning if pre-commit CI auto update is also set?
200200
- [x] Support automatic repository URL update (from legacy aliased repositories)
201201

202-
203202
## Inspiration
204203

205204
This project is inspired by @floatingpurr's [sync_with_pdm](https://github.com/floatingpurr/sync_with_pdm/) and [sync_with_poetry](https://github.com/floatingpurr/sync_with_poetry/).

0 commit comments

Comments
 (0)