Skip to content

Commit

Permalink
adjust linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Oct 18, 2024
1 parent 8f69ab1 commit 4eea4e2
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 @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4eea4e2

Please sign in to comment.