Skip to content

Commit

Permalink
chore: update precommit hooks to use new stage names
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Oct 8, 2024
1 parent 829589c commit 1e7a562
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
@@ -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:
Expand All @@ -10,30 +10,30 @@ repos:
entry: hatch run lint:install-packages
pass_filenames: false
language: system
stages: [commit]
stages: [pre-commit]
types:
- "python"
- id: python_style
name: Check Python Style
entry: hatch run lint:style
pass_filenames: false
language: system
stages: [commit]
stages: [pre-commit]
types:
- "python"
- id: python_typing
name: Check Python Typing
entry: hatch run lint:typing
pass_filenames: false
language: system
stages: [commit]
stages: [pre-commit]
types:
- "python"
- id: eslint
name: Check JavaScript Style and Typing
entry: npm run lint
pass_filenames: false
language: system
stages: [commit]
stages: [pre-commit]
types:
- "javascript"

0 comments on commit 1e7a562

Please sign in to comment.