Skip to content

Commit

Permalink
Hooks order matters
Browse files Browse the repository at this point in the history
  • Loading branch information
ichorid committed Jan 28, 2025
1 parent ade38c3 commit c9de354
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,33 @@ repos:

- repo: local
hooks:
- id: mypy
name: mypy
entry: poetry run mypy
- id: isort
name: isort
entry: poetry run isort
language: system
types: [python]

- repo: local
hooks:
- id: isort
name: isort
entry: poetry run isort
- id: black
name: black
entry: poetry run black
language: system
types: [python]

- repo: local
hooks:
- id: flake8
name: flake8
entry: poetry run flake8
- id: mypy
name: mypy
entry: poetry run mypy
language: system
types: [python]


- repo: local
hooks:
- id: black
name: black
entry: poetry run black
- id: flake8
name: flake8
entry: poetry run flake8
language: system
types: [python]

0 comments on commit c9de354

Please sign in to comment.