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 41dedfc57b [CI] fix: Standardize the pre-commit config (#1999)
41dedfc57b is described below
commit 41dedfc57b81f0f65c30bfc5e10b3c85ba101cae
Author: Sumit Gupta <[email protected]>
AuthorDate: Sun Jun 22 00:02:01 2025 +0530
[CI] fix: Standardize the pre-commit config (#1999)
---
.pre-commit-config.yaml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0c10de0abb..37f5744948 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -188,16 +188,36 @@ repos:
rev: v5.0.0
hooks:
- id: check-ast
+ name: run check-ast
+ description: check Python files for syntax errors
- id: check-builtin-literals
+ name: run check-builtin-literals
+ description: check Python files for proper use of built-in literals
- id: check-case-conflict
+ name: run check-case-conflict
+ description: check for case conflicts in file names
- id: check-docstring-first
+ name: run check-docstring-first
+ description: check that docstrings are at the start of functions
- id: check-executables-have-shebangs
+ name: run check-executables-have-shebangs
+ description: check that executable scripts have shebang lines
- id: check-illegal-windows-names
+ name: run check-illegal-windows-names
+ description: check for Windows-illegal file names
- id: check-json
+ name: run check-json
+ description: check JSON files for syntax errors
exclude:
^docs/usecases/data/testPolygon\.json$|^spark/common/src/test/resources/.*\.json$
- id: check-merge-conflict
+ name: run check-merge-conflict
+ description: check for merge conflict markers
- id: check-shebang-scripts-are-executable
+ name: run check-shebang-scripts-are-executable
+ description: check that scripts with shebangs are executable
- id: check-toml
+ name: run check-toml
+ description: check TOML files for syntax errors
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml