diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc5ffce..f20efb3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/dycw/actions - rev: 0.15.1 + rev: 0.15.5 hooks: - id: conformalize-repo args: @@ -27,28 +27,64 @@ repos: - --readme - --repo-name=template-python - --ruff + priority: 10 - id: format-requirements + priority: 10 - id: replace-sequence-strs + priority: 10 - id: touch-empty-py + priority: 10 - id: touch-py-typed + priority: 10 - id: update-requirements - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 + priority: 10 + - repo: builtin hooks: + - id: check-added-large-files + priority: 20 + - id: check-case-conflict + priority: 20 - id: check-executables-have-shebangs + priority: 20 + - id: check-json + priority: 20 + - id: check-json5 + priority: 20 - id: check-merge-conflict + priority: 20 - id: check-symlinks - - id: destroyed-symlinks + priority: 20 + - id: check-toml + priority: 20 + - id: check-xml + priority: 20 + - id: check-yaml + priority: 20 - id: detect-private-key + priority: 20 - id: end-of-file-fixer + priority: 10 + - id: fix-byte-order-marker + priority: 10 - id: mixed-line-ending args: - --fix=lf + priority: 10 - id: no-commit-to-branch + priority: 20 + - id: trailing-whitespace + priority: 10 + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.0.0 + hooks: + - id: check-illegal-windows-names + priority: 20 + - id: destroyed-symlinks + priority: 20 - id: pretty-format-json args: - --autofix - - id: trailing-whitespace + priority: 10 - repo: local hooks: - id: prettier @@ -58,21 +94,26 @@ repos: types_or: - markdown - yaml + priority: 10 - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.14.13 hooks: - id: ruff-check args: - --fix + priority: 20 - id: ruff-format + priority: 10 - repo: https://github.com/scop/pre-commit-shfmt rev: v3.12.0-2 hooks: - id: shfmt + priority: 10 - repo: https://github.com/koalaman/shellcheck-precommit rev: v0.11.0 hooks: - id: shellcheck + priority: 20 - repo: https://github.com/compwa/taplo-pre-commit rev: v0.9.3 hooks: @@ -84,6 +125,7 @@ repos: - indent_entries=true - --option - reorder_keys=true + priority: 10 - repo: https://github.com/astral-sh/uv-pre-commit rev: 0.9.26 hooks: @@ -94,3 +136,4 @@ repos: - highest - --prerelease - disallow + priority: 10