Commit 68ff5d2e authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Revert "Revert "Restrict flake8 to <4.0 for 3.6 compat issue""

This reverts commit bee5ddde.
parent bee5ddde
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -460,7 +460,9 @@ END

install_and_run_flake8()
{
  FLAKE8_PACKAGES=(flake8 pep8-naming)
  # <4.0 version restriction for https://github.com/PyCQA/flake8/issues/1425
  FLAKE8_PACKAGES=("flake8<4.0" pep8-naming)

  if grep -q quotes setup.cfg; then
    true
    FLAKE8_PACKAGES+=(flake8-quotes)