Skip to content

Commit 656950a

Browse files
committed
Backport PR pandas-dev#41462: CI: Fix changed flake8 error message after upgrade (pandas-dev#41462)
(cherry picked from commit bfa7525) # Conflicts: # .pre-commit-config.yaml # environment.yml # requirements-dev.txt
1 parent 1f96b6b commit 656950a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: black
66
- repo: https://gitlab.com/pycqa/flake8
7-
rev: 3.8.4
7+
rev: 3.9.2
88
hooks:
99
- id: flake8
1010
additional_dependencies: [flake8-comprehensions>=3.1.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
23+
- flake8=3.9.2
2424
- flake8-comprehensions>=3.1.0 # used by flake8, linting of unnecessary comprehensions
2525
- isort>=5.2.1 # check that imports are in the right order
2626
- mypy=0.782

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
11+
flake8==3.9.2
1212
flake8-comprehensions>=3.1.0
1313
isort>=5.2.1
1414
mypy==0.782

0 commit comments

Comments
 (0)