mirror of
https://github.com/Hopiu/django-uuslug.git
synced 2026-05-28 19:38:17 +00:00
add pyflakes and enable pep8
This commit is contained in:
parent
0cf8f1cb09
commit
28afc513fd
1 changed files with 7 additions and 0 deletions
|
|
@ -12,6 +12,13 @@ install:
|
|||
- pip install -q Django==$DJANGO
|
||||
- pip install -q -r requirements.txt
|
||||
- pip install pep8
|
||||
- pip install https://github.com/un33k/pyflakes/tarball/master
|
||||
- pip install -q -e .
|
||||
|
||||
before_script:
|
||||
- "pep8 --exclude=migrations --ignore=E501,E225,E128 ."
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W uuslug; fi
|
||||
|
||||
script: python manage.py test
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue