Skip to content

Commit

Permalink
Refactor deprecated pre-commit stages (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Nov 6, 2024
1 parent a4eab71 commit 2f10674
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ repos:
types: [python]
entry: poetry run 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: poetry run ruff format
require_serial: true
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: check-ast
name: 🐍 Check Python AST
language: system
Expand All @@ -35,7 +35,7 @@ repos:
language: system
types: [text, executable]
entry: poetry run check-executables-have-shebangs
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: check-json
name: { Check JSON files
language: system
Expand Down Expand Up @@ -82,7 +82,7 @@ repos:
language: system
types: [text]
entry: poetry run end-of-file-fixer
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: mypy
name: 🆎 Static type checking using mypy
language: system
Expand Down Expand Up @@ -118,7 +118,7 @@ repos:
language: system
types: [text]
entry: poetry run trailing-whitespace-fixer
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: yamllint
name: 🎗 Check YAML files with yamllint
language: system
Expand Down

0 comments on commit 2f10674

Please sign in to comment.