From 4eea4e279a05889c533e9c0b55ae4bc6367fcc98 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Fri, 18 Oct 2024 23:33:46 +0200 Subject: [PATCH] adjust linter config --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e05b701..683eecb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,14 +7,14 @@ repos: types: [python] entry: scripts/run-in-env.sh ruff check --fix require_serial: true - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: ruff-format name: 🐶 Ruff Formatter language: system types: [python] entry: scripts/run-in-env.sh ruff format require_serial: true - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: check-ast name: 🐍 Check Python AST language: system @@ -34,7 +34,7 @@ repos: language: system types: [text, executable] entry: scripts/run-in-env.sh check-executables-have-shebangs - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: check-json name: { Check JSON files language: system @@ -71,7 +71,7 @@ repos: language: system types: [text] entry: scripts/run-in-env.sh end-of-file-fixer - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: no-commit-to-branch name: 🛑 Don't commit to main branch language: system @@ -85,7 +85,7 @@ repos: language: system types: [text] entry: scripts/run-in-env.sh trailing-whitespace-fixer - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] # TODO: enable mypy (ans solve the issues found) # - id: mypy # name: mypy