Skip to content

Commit

Permalink
Update pyflakes dependency from "git version" to 2.0.0
Browse files Browse the repository at this point in the history
We can't remove the manual dependency completely yet, but it's better
to use a release version than the development version from the repo.
  • Loading branch information
dgelessus committed May 22, 2018
1 parent c7aa975 commit 14a2477
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ setenv =

[testenv:flake8]
basepython = python3.6
# FIXME Remove the pyflakes git dependency once a new version of pyflakes (> 1.6.0) is released.
# Currently we need to use the development version of pyflakes in order to use __class__, because pyflakes <= 1.6.0
# doesn't understand __class__. This has been fixed in the development version, but not in any release yet.
# FIXME Remove the manual pyflakes dependency once flake8 depends on pyflakes >= 2.0.0.
# Currently we need to manually update pyflakes in order to use __class__, because pyflakes <= 1.6.0
# doesn't understand __class__. This has been fixed in pyflakes 2.0.0, but flake8's requirements don't allow that
# version of pyflakes yet.
deps =
flake8
git+https://github.com/PyCQA/pyflakes.git
pyflakes >= 2.0.0
commands = flake8 {posargs}

0 comments on commit 14a2477

Please sign in to comment.