From d11cbea9a0e1549d99bfe389f6e66180123db5a6 Mon Sep 17 00:00:00 2001 From: No767 <73260931+No767@users.noreply.github.com> Date: Thu, 10 Oct 2024 07:41:43 -0700 Subject: [PATCH] Fix pre-commit migrations --- .pre-commit-config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3cc98b0..f50c250 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 files: '.py' exclude: ".env,.yml,.gitignore,.git,.md,.txt" -default_stages: [Nonepre-pushNone, Nonepre-commitNone] +default_stages: [pre-commit] repos: - repo: https://github.com/PyCQA/bandit rev: 1.7.10 @@ -10,7 +10,7 @@ repos: - id: bandit args: ["-c", "pyproject.toml"] name: Bandit - stages: [Nonepre-commitNone] + stages: [pre-commit] additional_dependencies: ["bandit[toml]"] - repo: https://github.com/psf/black @@ -18,7 +18,7 @@ repos: hooks: - id: black name: Black - stages: [Nonepre-commitNone] + stages: [pre-commit] - repo: https://github.com/PyCQA/autoflake rev: v2.3.1 @@ -27,7 +27,7 @@ repos: args: ["--in-place", "--remove-unused-variables", "--recursive"] name: AutoFlake description: "Format with AutoFlake" - stages: [Nonepre-commitNone] + stages: [pre-commit] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.9 @@ -35,6 +35,7 @@ repos: - id: ruff name: Ruff args: ["--fix", "--exit-non-zero-on-fix", "--config", "pyproject.toml"] + stages: [pre-commit] - repo: https://github.com/PyCQA/isort rev: 5.13.2 @@ -42,6 +43,6 @@ repos: - id: isort name: ISort description: "Format with Isort" - stages: [Nonepre-commitNone] + stages: [pre-commit]