Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better pre-commit order #689

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading