diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index fcffd6d66c..b828d8b767 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -3,6 +3,7 @@ afterall bu celle eiter +errorprone fpt limite nd @@ -13,4 +14,3 @@ refere ser shouldbe wel -errorprone diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f97af3cba3..3f2d6dd59b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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