Skip to content

Commit 949079b

Browse files
authored
Merge pull request #8448 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 7097a9a + a609d65 commit 949079b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.6.3
3+
rev: v0.6.9
44
hooks:
55
- id: ruff
66
args: [--exit-non-zero-on-fix]
@@ -11,7 +11,7 @@ repos:
1111
- id: black
1212

1313
- repo: https://github.com/PyCQA/bandit
14-
rev: 1.7.9
14+
rev: 1.7.10
1515
hooks:
1616
- id: bandit
1717
args: [--severity-level=high]
@@ -24,7 +24,7 @@ repos:
2424
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$)
2525

2626
- repo: https://github.com/pre-commit/mirrors-clang-format
27-
rev: v18.1.8
27+
rev: v19.1.1
2828
hooks:
2929
- id: clang-format
3030
types: [c]
@@ -36,7 +36,7 @@ repos:
3636
- id: rst-backticks
3737

3838
- repo: https://github.com/pre-commit/pre-commit-hooks
39-
rev: v4.6.0
39+
rev: v5.0.0
4040
hooks:
4141
- id: check-executables-have-shebangs
4242
- id: check-shebang-scripts-are-executable
@@ -50,29 +50,29 @@ repos:
5050
exclude: ^.github/.*TEMPLATE|^Tests/(fonts|images)/
5151

5252
- repo: https://github.com/python-jsonschema/check-jsonschema
53-
rev: 0.29.2
53+
rev: 0.29.3
5454
hooks:
5555
- id: check-github-workflows
5656
- id: check-readthedocs
5757
- id: check-renovate
5858

5959
- repo: https://github.com/sphinx-contrib/sphinx-lint
60-
rev: v0.9.1
60+
rev: v1.0.0
6161
hooks:
6262
- id: sphinx-lint
6363

6464
- repo: https://github.com/tox-dev/pyproject-fmt
65-
rev: 2.2.1
65+
rev: 2.2.4
6666
hooks:
6767
- id: pyproject-fmt
6868

6969
- repo: https://github.com/abravalheri/validate-pyproject
70-
rev: v0.19
70+
rev: v0.20.2
7171
hooks:
7272
- id: validate-pyproject
7373

7474
- repo: https://github.com/tox-dev/tox-ini-fmt
75-
rev: 1.3.1
75+
rev: 1.4.1
7676
hooks:
7777
- id: tox-ini-fmt
7878

src/libImaging/QuantOctree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ create_sorted_color_palette(const ColorCube cube) {
188188
buckets,
189189
cube->size,
190190
sizeof(struct _ColorBucket),
191-
(int (*)(void const *, void const *)) & compare_bucket_count
191+
(int (*)(void const *, void const *))&compare_bucket_count
192192
);
193193

194194
return buckets;

0 commit comments

Comments
 (0)