Exclude migrations from nose and pep8

This commit is contained in:
Jan Tuomi
2017-05-19 16:03:38 +03:00
parent bb70c101d6
commit 30ca4aafd3
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -55,6 +55,9 @@ TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
NOSE_ARGS = [
'--with-coverage',
'--cover-package=webapp,members,infoscreen',
'--exclude-dir={}'.format(os.path.join(BASE_DIR, 'members', 'migrations')),
'--exclude-dir={}'.format(os.path.join(BASE_DIR, 'infoscreen', 'migrations')),
'--exclude-dir={}'.format(os.path.join(BASE_DIR, 'webapp', 'migrations')),
]
MIDDLEWARE_CLASSES = [