Skip to content

Commit

Permalink
CI: Fix changed flake8 error message after upgrade (pandas-dev#41462)
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl authored May 14, 2021
1 parent 2e3d624 commit bfa7525
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
exclude: ^pandas/_libs/src/(klib|headers)/
args: [--quiet, '--extensions=c,h', '--headers=h', --recursive, '--filter=-readability/casting,-runtime/int,-build/include_subdir']
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.1
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies:
Expand Down Expand Up @@ -75,7 +75,7 @@ repos:
hooks:
- id: yesqa
additional_dependencies:
- flake8==3.9.1
- flake8==3.9.2
- flake8-comprehensions==3.1.0
- flake8-bugbear==21.3.2
- pandas-dev-flaker==0.2.0
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
# code checks
- black=20.8b1
- cpplint
- flake8=3.9.1
- flake8=3.9.2
- flake8-bugbear=21.3.2 # used by flake8, find likely bugs
- flake8-comprehensions=3.1.0 # used by flake8, linting of unnecessary comprehensions
- isort>=5.2.1 # check that imports are in the right order
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ asv
cython>=0.29.21
black==20.8b1
cpplint
flake8==3.9.1
flake8==3.9.2
flake8-bugbear==21.3.2
flake8-comprehensions==3.1.0
isort>=5.2.1
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_validate_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_bad_class(self, capsys):
"indentation_is_not_a_multiple_of_four",
# with flake8 3.9.0, the message ends with four spaces,
# whereas in earlier versions, it ended with "four"
("flake8 error: E111 indentation is not a multiple of ",),
("flake8 error: E111 indentation is not a multiple of 4",),
),
(
"BadDocstrings",
Expand Down

0 comments on commit bfa7525

Please sign in to comment.