Commit 2f10e18
authored
Update pre-commit hooks to latest versions (Project-MONAI#8693)
This pull request updates the `.pre-commit-config.yaml` file to use
newer versions of several pre-commit hooks, ensuring the codebase
benefits from the latest features and bug fixes. It also switches the
Ruff hook to a newer recommended id.
Pre-commit hook version upgrades:
* Upgraded `pre-commit-hooks` from `v5.0.0` to `v6.0.0` for improved
linting and formatting checks.
* Upgraded `ruff-pre-commit` from `v0.7.0` to `v0.14.11` and changed the
hook id from `ruff` to `ruff-check` to align with the latest
configuration recommendations.
* Upgraded `pycln` from `v2.5.0` to `v2.6.0` for more robust import
cleaning.
cc: @ericspod
Signed-off-by: jirka <jirka.borovec@seznam.cz>1 parent 49fede4 commit 2f10e18
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
0 commit comments