Merge branch 'pylint'
This commit is contained in:
Коммит
4fdc79f9c9
|
@ -1,5 +1,11 @@
|
|||
from fabric.api import local
|
||||
|
||||
|
||||
def pylint():
|
||||
local("cd ..;export DJANGO_SETTINGS_MODULE=zamboni/settings_local;export PYTHONPATH=zamboni/apps:zamboni/lib;"
|
||||
"pylint --rcfile zamboni/scripts/pylintrc -fparseable zamboni",
|
||||
capture=False)
|
||||
|
||||
def pep8():
|
||||
local("pep8 --repeat --ignore E221"
|
||||
" --exclude *.sh,*.html,*.json,*.txt,*.pyc,.DS_Store,README,"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[MASTER]
|
||||
|
||||
ignore=migrations,settings_local.py
|
||||
ignore=migrations,settings_local.py,sphinxapi.py
|
||||
|
||||
[REPORTS]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче