forked from CGM_Public/pretix_original
Code checker configuration
This commit is contained in:
@@ -6,7 +6,7 @@ install:
|
||||
- pip install -q -r src/requirements.txt
|
||||
before_script:
|
||||
- cd src
|
||||
- "pep8 --ignore=E501,E128 --exclude=migrations ."
|
||||
- pyflakes .
|
||||
- flake8 --ignore=E128,F403,F401 .
|
||||
- python manage.py validate
|
||||
script:
|
||||
- python manage.py test
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
Django>=1.7
|
||||
pyflakes
|
||||
pep8
|
||||
pep8-naming
|
||||
flake8
|
||||
|
||||
5
src/setup.cfg
Normal file
5
src/setup.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
[flake8]
|
||||
ignore = E128
|
||||
max-line-length = 160
|
||||
exclude = tests,migrations,.ropeproject
|
||||
max-complexity = 12
|
||||
Reference in New Issue
Block a user