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 Nov 12, 2018
1 parent 4b9dac4 commit 978ef28
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 @@ -17,6 +17,9 @@ before_install:
install:
- python3 -m pip install aiohttp
- python3 -m pip install pydiatra 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 python3 -m pip install pylint
- python3 -m pip install docutils pygments
script:
Expand Down

0 comments on commit 978ef28

Please sign in to comment.