Skip to content

Commit 1494e52

Browse files
committed
Update pre-commit hooks to latest version
1 parent 70c6d02 commit 1494e52

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ repos:
1313
args: [ "--fix=lf" ]
1414
- id: check-case-conflict
1515
- repo: https://github.com/charliermarsh/ruff-pre-commit
16-
rev: 'v0.9.6' # Ruff version.
16+
rev: 'v0.11.4' # Ruff version.
1717
hooks:
1818
- id: ruff
19-
stages: [ push, commit, manual ]
19+
stages: [ pre-push, pre-commit, manual ]
2020
# Run the formatter.
2121
- id: ruff-format
22-
stages: [ push, commit, manual ]
22+
stages: [ pre-push, pre-commit, manual ]
2323
- repo: https://github.com/pycqa/flake8
24-
rev: '7.1.2' # pick a git hash / tag to point to
24+
rev: '7.2.0' # pick a git hash / tag to point to
2525
hooks:
2626
- id: flake8
2727
- repo: local
@@ -33,20 +33,20 @@ repos:
3333
always_run: true
3434
pass_filenames: false
3535
verbose: true
36-
stages: [ push ]
36+
stages: [ pre-push ]
3737
- id: cheribuild-pytest
3838
name: cheribuild pytest
3939
entry: sh -c 'python3 -m pytest -q . >&2'
4040
language: system
4141
always_run: true
4242
pass_filenames: false
4343
verbose: true
44-
stages: [ push, manual ]
44+
stages: [ pre-push, manual ]
4545
- id: cheribuild-smoke-test
4646
name: cheribuild smoke test
4747
entry: tests/run_smoke_tests.sh
4848
language: system
4949
always_run: true
5050
pass_filenames: false
5151
verbose: true
52-
stages: [ push, manual ]
52+
stages: [ pre-push, manual ]

0 commit comments

Comments
 (0)