diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c1c07f..d0f5971 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3.12 files: '.py' exclude: ".env,.yml,.gitignore,.git,.md,.txt" -default_stages: [push, commit] +default_stages: [pre-push, pre-commit] repos: - repo: https://github.com/PyCQA/bandit rev: 1.7.10 @@ -10,15 +10,15 @@ repos: - id: bandit args: ["-c", "pyproject.toml"] name: Bandit - stages: [commit] + stages: [pre-commit] additional_dependencies: ["bandit[toml]"] - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black name: Black - stages: [commit] + stages: [pre-commit] - repo: https://github.com/PyCQA/autoflake rev: v2.3.1 @@ -27,10 +27,10 @@ repos: args: ["--in-place", "--remove-unused-variables", "--recursive"] name: AutoFlake description: "Format with AutoFlake" - stages: [commit] + stages: [pre-commit] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.6.9 hooks: - id: ruff name: Ruff @@ -42,6 +42,6 @@ repos: - id: isort name: ISort description: "Format with Isort" - stages: [commit] + stages: [pre-commit]