Return to pyflakes
This commit is contained in:
parent
b569b19a7f
commit
343f24377f
@ -13,14 +13,11 @@ matrix:
|
|||||||
env: TOX_ENV=wheezy
|
env: TOX_ENV=wheezy
|
||||||
install:
|
install:
|
||||||
- pip install -U pip
|
- pip install -U pip
|
||||||
- pip install flake8 tox
|
- pip install pyflakes tox
|
||||||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
||||||
script:
|
script:
|
||||||
- tox -e $TOX_ENV
|
- tox -e $TOX_ENV
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
- python -m pyflakes.__main__ $(git ls-files | grep -E "^isso/.+.py$" | grep -v "^isso/compat.py")
|
||||||
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
||||||
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
Loading…
Reference in New Issue
Block a user