Skip to content

Commit bfa7525

Browse files
authored
CI: Fix changed flake8 error message after upgrade (#41462)
1 parent 2e3d624 commit bfa7525

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
exclude: ^pandas/_libs/src/(klib|headers)/
3636
args: [--quiet, '--extensions=c,h', '--headers=h', --recursive, '--filter=-readability/casting,-runtime/int,-build/include_subdir']
3737
- repo: https://gitlab.com/pycqa/flake8
38-
rev: 3.9.1
38+
rev: 3.9.2
3939
hooks:
4040
- id: flake8
4141
additional_dependencies:
@@ -75,7 +75,7 @@ repos:
7575
hooks:
7676
- id: yesqa
7777
additional_dependencies:
78-
- flake8==3.9.1
78+
- flake8==3.9.2
7979
- flake8-comprehensions==3.1.0
8080
- flake8-bugbear==21.3.2
8181
- pandas-dev-flaker==0.2.0

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
# code checks
2121
- black=20.8b1
2222
- cpplint
23-
- flake8=3.9.1
23+
- flake8=3.9.2
2424
- flake8-bugbear=21.3.2 # used by flake8, find likely bugs
2525
- flake8-comprehensions=3.1.0 # used by flake8, linting of unnecessary comprehensions
2626
- isort>=5.2.1 # check that imports are in the right order

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ asv
88
cython>=0.29.21
99
black==20.8b1
1010
cpplint
11-
flake8==3.9.1
11+
flake8==3.9.2
1212
flake8-bugbear==21.3.2
1313
flake8-comprehensions==3.1.0
1414
isort>=5.2.1

scripts/tests/test_validate_docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_bad_class(self, capsys):
165165
"indentation_is_not_a_multiple_of_four",
166166
# with flake8 3.9.0, the message ends with four spaces,
167167
# whereas in earlier versions, it ended with "four"
168-
("flake8 error: E111 indentation is not a multiple of ",),
168+
("flake8 error: E111 indentation is not a multiple of 4",),
169169
),
170170
(
171171
"BadDocstrings",

0 commit comments

Comments
 (0)