Skip to content

Commit 3c46e7d

Browse files
committed
setup.py: pin flake8 due to an incompatibility with pytest-flake8
pytest-flake8 is currently incompatible with 5.x flake8 releases. This downgrades flake8 to an older version which still works.
1 parent 830597c commit 3c46e7d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
extras_require={
4040
'testing': [
4141
'coverage',
42+
# remove flake8 once https://github.com/tholo/pytest-flake8/issues/87 is fixed
43+
# and the new version of pytest-flake8 is released
44+
'flake8==4.0.1',
4245
'pytest',
4346
'pycparser',
4447
'pytest-flake8',

0 commit comments

Comments
 (0)