Skip to content

Commit

Permalink
Better pre-commit order
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 22, 2024
1 parent 23c5f08 commit 3d63cc0
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,18 @@ repos:
args:
- --exclude=/(tests)/
- --line-length=120
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args:
- --ignore-words-list=nin,astroid
- --skip=poetry.lock
- repo: https://github.com/PyCQA/prospector
rev: v1.10.3
hooks:
- id: prospector
additional_dependencies:
- "prospector[with_everything]"
# the following are needed to run mypy successfully in the pre-commit virtualenv
- types-setuptools
- types-PyYAML
args:
- --summary-only
- --zero-exit
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
Expand All @@ -53,11 +46,6 @@ repos:
)$
args:
- --max-line-length=120
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/regebro/pyroma
rev: "4.2"
hooks:
Expand All @@ -71,3 +59,15 @@ repos:
README.rst|
pyproject.toml|
)$
- repo: https://github.com/PyCQA/prospector
rev: v1.10.3
hooks:
- id: prospector
additional_dependencies:
- "prospector[with_everything]"
# the following are needed to run mypy successfully in the pre-commit virtualenv
- types-setuptools
- types-PyYAML
args:
- --summary-only
- --zero-exit

0 comments on commit 3d63cc0

Please sign in to comment.