Skip to content

Commit 77038e9

Browse files
chore(deps): autoupdate pre-commit hooks (#560)
* chore(deps): autoupdate pre-commit hooks * fix(chore): update file-contents-sorter args. The combination of `--unique` and `--ignore-case` options in the `file-contents-sorter` has been disable due to non-deterministic behaviour. We retain the `--ignore-case` option as we are less concerned with duplicates in the spell check dictionaries than we are with easily identifying mixed-case words. --------- Co-authored-by: gchq-write-contents-and-pr[bot] <164903853+gchq-write-contents-and-pr[bot]@users.noreply.github.com> Co-authored-by: tm91236 <[email protected]>
1 parent 76d87ca commit 77038e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default_stages:
77
- pre-merge-commit
88
repos:
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v5.0.0
10+
rev: v6.0.0
1111
hooks:
1212
# Reject commits that add large files (coverage.xml, for example)
1313
# Consider adjusting kB limit
@@ -41,7 +41,6 @@ repos:
4141
files: ^\.cspell/.+\.txt$
4242
args:
4343
- --ignore-case
44-
- --unique
4544
fail_fast: true
4645
- repo: https://github.com/pre-commit/pygrep-hooks
4746
rev: v1.10.0
@@ -59,7 +58,7 @@ repos:
5958
# No tabs, only spaces
6059
- id: forbid-tabs
6160
- repo: https://github.com/astral-sh/ruff-pre-commit
62-
rev: v0.12.7
61+
rev: v0.12.8
6362
hooks:
6463
# Run the formatter.
6564
- id: ruff-format

0 commit comments

Comments
 (0)