Skip to content

Commit

Permalink
Merge pull request #689 from prospector-dev/pre-commit-order
Browse files Browse the repository at this point in the history
Better pre-commit order
  • Loading branch information
sbrunner authored Oct 22, 2024
2 parents 3ca5440 + b27436a commit 25b9c6c
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 25b9c6c

Please sign in to comment.