Code checker configuration

This commit is contained in:
Raphael Michel
2014-09-10 19:42:10 +02:00
parent bf68e01f3d
commit e0b57344b8
3 changed files with 9 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ install:
- pip install -q -r src/requirements.txt - pip install -q -r src/requirements.txt
before_script: before_script:
- cd src - cd src
- "pep8 --ignore=E501,E128 --exclude=migrations ." - flake8 --ignore=E128,F403,F401 .
- pyflakes . - python manage.py validate
script: script:
- python manage.py test - python manage.py test

View File

@@ -1,3 +1,5 @@
Django>=1.7 Django>=1.7
pyflakes pyflakes
pep8 pep8
pep8-naming
flake8

5
src/setup.cfg Normal file
View File

@@ -0,0 +1,5 @@
[flake8]
ignore = E128
max-line-length = 160
exclude = tests,migrations,.ropeproject
max-complexity = 12