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 82afeaf9f [DOCS] Upgrade pre-commit min version; add hook; pre-commit
autoupdate (#1614)
82afeaf9f is described below
commit 82afeaf9f2087a2326b9a09329ba1a12b9393dd0
Author: John Bampton <[email protected]>
AuthorDate: Wed Oct 9 06:57:58 2024 +1000
[DOCS] Upgrade pre-commit min version; add hook; pre-commit autoupdate
(#1614)
* [DOCS] Upgrade pre-commit min version; add hook; pre-commit autoupdate
https://github.com/pre-commit/pre-commit-hooks/releases/tag/v5.0.0
pre-commit-hooks now requires pre-commit>=3.2.0
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-illegal-windows-names
https://pre-commit.com/#pre-commit-autoupdate
* pre-commit migrate-config
---
.pre-commit-config.yaml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6bfa21846..2cc83e71c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,17 +1,17 @@
---
# https://pre-commit.com/#installation
-default_stages: [commit, push]
+default_stages: [pre-commit, pre-push]
default_language_version:
# force all unspecified Python hooks to run python3
python: python3
-minimum_pre_commit_version: '2.18.1'
+minimum_pre_commit_version: '3.2.0'
repos:
- repo: meta
hooks:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/psf/black-pre-commit-mirror
- rev: 24.8.0
+ rev: 24.10.0
hooks:
- id: black-jupyter
- repo: https://github.com/codespell-project/codespell
@@ -23,13 +23,14 @@ repos:
args: [--ignore-words=.github/linters/codespell.txt]
exclude:
^docs/image|^spark/common/src/test/resources|^docs/usecases|^tools/maven/scalafmt
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.6.0
+ rev: v5.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
+ - id: check-illegal-windows-names
# - id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
@@ -56,7 +57,7 @@ repos:
args: [--markdown-linebreak-ext=md]
exclude: ^docs-overrides/main\.html$|\.Rd$
- repo: https://github.com/igorshubovych/markdownlint-cli
- rev: v0.41.0
+ rev: v0.42.0
hooks:
- id: markdownlint
name: Run markdownlint