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 10, 2018
1 parent 62ece42 commit 5735946
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 @@ -29,6 +29,9 @@ install:
- python3 -m pip install regex
- python3 -m pip install pydiatra
- python3 -m 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 python3 -m pip install pylint
- python3 -m pip install docutils
script:
Expand Down

0 comments on commit 5735946

Please sign in to comment.