Skip to content

Commit

Permalink
travis: patch pyflakes for devel Python.
Browse files Browse the repository at this point in the history
Fixes:

    AttributeError: 'Checker' object has no attribute 'CONSTANT'

PyCQA/pyflakes#367
  • Loading branch information
jwilk committed Oct 1, 2018
1 parent b3c5a36 commit 0e8f478
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ before_install:
install:
- pip install "futures; python_version < '3'"
- pip install $pyflakes
- if [[ $TRAVIS_PYTHON_VERSION = *-dev ]]; then
printf '\n\n CONSTANT = ignore\n' >> $VIRTUAL_ENV/lib/python*/site-packages/pyflakes/checker.py;
fi
- $if_pylint pip install pylint
- pip install docutils
script:
Expand Down

0 comments on commit 0e8f478

Please sign in to comment.