Skip to content

Commit 836fac3

Browse files
sprzedwojskiashb
authored andcommitted
[AIRFLOW-3257] Pin flake8 version to avoid checks changing over time (#4092)
Flake8 3.6.0 was just released and it introduced some new checks that didn't exist before. As a result all of our CI pipelines are now failing. To avoid this happening in future we should pin the version of flake8 to 3.5.0 (currently this is in tox.ini, and setup.py)
1 parent 2023e4f commit 836fac3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/ci/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dill
3131
distributed
3232
docker-py
3333
filechunkio
34-
flake8
34+
flake8==3.5.0
3535
flask
3636
flask-admin
3737
flask-bcrypt

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ commands =
8181
basepython = python3
8282

8383
deps =
84-
flake8
84+
flake8==3.5.0
8585

8686
commands =
8787
{toxinidir}/scripts/ci/flake8_diff.sh

0 commit comments

Comments
 (0)