Skip to content

Commit

Permalink
[SEDONA-538] Add four more pre-commit hooks (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored and jiayuasu committed Apr 28, 2024
1 parent 631794b commit 469e027
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/linters/codespell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ afterall
bu
celle
eiter
errorprone
fpt
limite
nd
Expand All @@ -13,4 +14,3 @@ refere
ser
shouldbe
wel
errorprone
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ repos:
rev: v4.5.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
# - id: check-docstring-first
# - id: check-executables-have-shebangs
Expand All @@ -34,12 +35,17 @@ repos:
- id: check-yaml
exclude: ^mkdocs\.yml$
- id: debug-statements
- id: destroyed-symlinks
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: end-of-file-fixer
exclude: \.svg$|^docs/image|^spark/common/src/test/resources
- id: file-contents-sorter
args: [--unique]
files: ^\.github/linters/codespell\.txt$
- id: fix-byte-order-marker
- id: forbid-submodules
- id: mixed-line-ending
exclude: \.csv$
- id: requirements-txt-fixer
Expand Down

0 comments on commit 469e027

Please sign in to comment.