Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[tools]
pdm = "2.24"
python = ["3.12", "3.13.3", "3.11", "3.10", "3.9"]
pdm = "2.25"
python = ["3.12", "3.13", "3.11", "3.10", "3.9"]
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repos:
verbose: true
files: ^db\.py|README\.md$

- rev: v0.11.6
- rev: v0.11.13
repo: https://github.com/astral-sh/ruff-pre-commit
hooks:
- id: ruff
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PDM and Poetry plugin to sync your pre-commit versions with your lockfile and au
## Supported versions

- Python 3.9+ to 3.13+
- PDM 2.7.4 to 2.24+
- PDM 2.7.4 to 2.25+
- Python 3.12.7+ requires PDM 2.20.1+
- Poetry 1.6 to 2.1+

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

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

### Features or fixes

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


## Inspiration

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/).
Expand Down
Loading
Loading