diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c51c413..e1fe5a70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace name: trim trailing whitespace @@ -8,7 +8,7 @@ repos: entry: trailing-whitespace-fixer language: python types: [text] - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: end-of-file-fixer name: fix end of files @@ -16,7 +16,7 @@ repos: entry: end-of-file-fixer language: python types: [text] - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: detect-aws-credentials name: detect aws credentials @@ -40,7 +40,7 @@ repos: entry: check-executables-have-shebangs language: python types: [text, executable] - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: check-shebang-scripts-are-executable name: check that scripts with shebangs are executable @@ -48,7 +48,7 @@ repos: entry: check-shebang-scripts-are-executable language: python types: [text] - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: check-json name: check json @@ -74,7 +74,7 @@ repos: description: prevents giant files from being committed. entry: check-added-large-files language: python - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] args: ["--maxkb=10240"] # Versioning: Commit messages & changelog @@ -87,7 +87,7 @@ repos: # Lint / autoformat: Python code - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.6.8" + rev: "v0.6.9" hooks: # Run the linter - id: ruff