Skip to content

Backport PR #46558: CI: pre-commit autoupdate to fix CI #46563

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

Closed
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: absolufy-imports
files: ^pandas/
- repo: https://github.com/python/black
rev: 21.12b0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
Expand All @@ -26,7 +26,7 @@ repos:
exclude: \.txt$
- id: trailing-whitespace
- repo: https://github.com/cpplint/cpplint
rev: 1.5.5
rev: 1.6.0
hooks:
- id: cpplint
# We don't lint all C files because we don't want to lint any that are built
Expand All @@ -49,7 +49,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- cython>=0.29.24

# code checks
- black=21.5b2
- black=22.3.0
- cpplint
- flake8=4.0.1
- flake8-bugbear=21.3.2 # used by flake8, find likely bugs
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ python-dateutil>=2.8.1
pytz
asv < 0.5.0
cython>=0.29.24
black==21.5b2
black==22.3.0
cpplint
flake8==4.0.1
flake8-bugbear==21.3.2
Expand Down