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
|
- 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
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
Django>=1.7
|
Django>=1.7
|
||||||
pyflakes
|
pyflakes
|
||||||
pep8
|
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