This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 1ea36e9a41 [CI] pre-commit: update hooks, node, prettier; fix oxipng
(#2078)
1ea36e9a41 is described below
commit 1ea36e9a412a8869ec918e1443e186697a10cd98
Author: John Bampton <[email protected]>
AuthorDate: Fri Jul 11 05:41:56 2025 +1000
[CI] pre-commit: update hooks, node, prettier; fix oxipng (#2078)
Make oxipng more robust by using "fix"
---
.pre-commit-config.yaml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 37f5744948..28268684b0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,8 +21,8 @@ default_stages: [pre-commit, pre-push]
default_language_version:
# force all unspecified Python hooks to run python3
python: python3
- # force all unspecified Node hooks to run Node.js v22.16.0 LTS
- node: 22.16.0
+ # force all unspecified Node hooks to run Node.js v22.17.0 LTS
+ node: 22.17.0
minimum_pre_commit_version: '3.2.0'
repos:
- repo: meta
@@ -39,7 +39,7 @@ repos:
entry: prettier --write '**/*.js' '**/*.yaml' '**/*.yml'
files: \.(js|ya?ml)$
language: node
- additional_dependencies: ['[email protected]']
+ additional_dependencies: ['[email protected]']
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
@@ -155,7 +155,7 @@ repos:
name: run black-jupyter
description: format Python files and Jupyter Notebooks with black
- repo: https://github.com/pre-commit/mirrors-clang-format
- rev: v20.1.5
+ rev: v20.1.7
hooks:
- id: clang-format
name: run clang-format
@@ -163,7 +163,7 @@ repos:
args: [--style=Google]
types_or: [c]
- repo: https://github.com/PyCQA/bandit
- rev: 1.8.3
+ rev: 1.8.6
hooks:
- id: bandit
name: run bandit
@@ -179,7 +179,7 @@ repos:
args: [--ignore-words=.github/linters/codespell.txt]
exclude:
^docs/image|^spark/common/src/test/resources|^docs/usecases|^tools/maven/scalafmt|osmpbf/build|^docker/zeppelin
- repo: https://github.com/gitleaks/gitleaks
- rev: v8.27.0
+ rev: v8.27.2
hooks:
- id: gitleaks
name: run gitleaks
@@ -284,4 +284,4 @@ repos:
- id: oxipng
name: run oxipng
description: check PNG files with oxipng
- args: ['-o', '4', '--strip', 'safe', '--alpha']
+ args: ['--fix', '-o', '4', '--strip', 'safe', '--alpha']