Skip to content

⬆️ UPGRADE: Autoupdate pre-commit config #51707

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

Merged
merged 2 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
types_or: [python, pyi]
additional_dependencies: [black==23.1.0]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.244
rev: v0.0.253
hooks:
- id: ruff
- repo: https://github.com/jendrikseipp/vulture
Expand All @@ -45,7 +45,7 @@ repos:
types_or: [python, rst, markdown]
additional_dependencies: [tomli]
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.12.4
rev: v0.12.5
hooks:
- id: cython-lint
- id: double-quote-cython-strings
Expand Down Expand Up @@ -78,12 +78,12 @@ repos:
'--filter=-readability/casting,-runtime/int,-build/include_subdir,-readability/fn_size'
]
- repo: https://github.com/pycqa/pylint
rev: v2.16.1
rev: v2.16.2
hooks:
- id: pylint
stages: [manual]
- repo: https://github.com/pycqa/pylint
rev: v2.16.1
rev: v2.16.2
hooks:
- id: pylint
alias: redefined-outer-name
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,18 @@ ignore = [
"PLR0912",
# Too many statements
"PLR0915",
# Global statements are discouraged
"PLW0603",

# Additional checks that don't pass yet
# Within an except clause, raise exceptions with ...
"B904",
# Magic number
"PLR2004",
# Outer loop variable overwritten by inner assignment
"PLW2901",
# Consider `elif` instead of `else` then `if` to remove indendation level
"PLR5501",
]

exclude = [
Expand Down