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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.7
rev: v0.12.11
hooks:
- id: ruff-check
args: [--exit-non-zero-on-fix]
Expand All @@ -24,7 +24,7 @@ repos:
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$|\.patch$)

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v20.1.8
rev: v21.1.0
hooks:
- id: clang-format
types: [c]
Expand All @@ -36,7 +36,7 @@ repos:
- id: rst-backticks

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
Expand All @@ -51,14 +51,14 @@ repos:
exclude: ^.github/.*TEMPLATE|^Tests/(fonts|images)/|\.patch$

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.2
rev: 0.33.3
hooks:
- id: check-github-workflows
- id: check-readthedocs
- id: check-renovate

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.11.0
rev: v1.12.1
hooks:
- id: zizmor

Expand Down
2 changes: 1 addition & 1 deletion src/libImaging/Palette.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ImagingPaletteDelete(ImagingPalette palette) {

#define BOX 8

#define BOXVOLUME BOX *BOX *BOX
#define BOXVOLUME BOX * BOX * BOX

void
ImagingPaletteCacheUpdate(ImagingPalette palette, int r, int g, int b) {
Expand Down
Loading