From 1e7a562f0c0fec2f3039d1c9a8b506ca8ffcc1b3 Mon Sep 17 00:00:00 2001 From: Daniel Biehl Date: Wed, 9 Oct 2024 00:31:35 +0200 Subject: [PATCH] chore: update precommit hooks to use new stage names --- .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 1c7c575dc..ea1d38246 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ fail_fast: true default_language_version: python: python3.8 -default_stages: [commit, push] +default_stages: [pre-commit, pre-push] repos: - repo: local hooks: @@ -10,7 +10,7 @@ repos: entry: hatch run lint:install-packages pass_filenames: false language: system - stages: [commit] + stages: [pre-commit] types: - "python" - id: python_style @@ -18,7 +18,7 @@ repos: entry: hatch run lint:style pass_filenames: false language: system - stages: [commit] + stages: [pre-commit] types: - "python" - id: python_typing @@ -26,7 +26,7 @@ repos: entry: hatch run lint:typing pass_filenames: false language: system - stages: [commit] + stages: [pre-commit] types: - "python" - id: eslint @@ -34,6 +34,6 @@ repos: entry: npm run lint pass_filenames: false language: system - stages: [commit] + stages: [pre-commit] types: - "javascript"