Skip to content

Commit 943f1bf

Browse files
committed
pre-commit updates; make oxipng hook more robust
1 parent b229bb6 commit 943f1bf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ default_stages: [pre-commit, pre-push]
44
default_language_version:
55
# force all unspecified Python hooks to run python3
66
python: python3
7-
# force all unspecified Node hooks to run Node.js v22.16.0 LTS
8-
node: 22.16.0
7+
# force all unspecified Node hooks to run Node.js v22.17.0 LTS
8+
node: 22.17.0
99
minimum_pre_commit_version: "3.2.0"
1010
exclude: "^tools/lrama/"
1111
repos:
@@ -25,7 +25,7 @@ repos:
2525
entry: prettier --write '**/*.json' '**/*.md' '**/*.yaml' '**/*.yml'
2626
files: \.(json|md|ya?ml)$
2727
language: node
28-
additional_dependencies: ["prettier@3.6.0"]
28+
additional_dependencies: ["prettier@3.6.2"]
2929
- repo: https://github.com/gitleaks/gitleaks
3030
rev: v8.27.2
3131
hooks:
@@ -38,7 +38,7 @@ repos:
3838
- id: oxipng
3939
name: run oxipng
4040
description: use lossless compression to optimize PNG files
41-
args: ["-o", "4", "--strip", "safe", "--alpha"]
41+
args: ["--fix", "-o", "4", "--strip", "safe", "--alpha"]
4242
- repo: https://github.com/pre-commit/pre-commit-hooks
4343
rev: v5.0.0
4444
hooks:
@@ -109,7 +109,7 @@ repos:
109109
types: [markdown]
110110
files: \.md$
111111
- repo: https://github.com/rubocop/rubocop
112-
rev: v1.77.0
112+
rev: v1.78.0
113113
hooks:
114114
- id: rubocop
115115
name: run rubocop

0 commit comments

Comments
 (0)