mirror of
https://github.com/pretix/pretix.git
synced 2026-01-09 22:12:26 +00:00
Fixed flake8 problems
This commit is contained in:
@@ -2,6 +2,7 @@ django-debug-toolbar>=1.3.0,<2.0
|
||||
# Testing requirements
|
||||
pyflakes
|
||||
pep8==1.5.7 # exact requirement by flake8 2.4.0
|
||||
pyflakes==1.1.0 # later version causes problems currently
|
||||
pep8-naming
|
||||
flake8
|
||||
coveralls
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import os
|
||||
|
||||
from pretix.settings import * # NOQA
|
||||
|
||||
TEST_DIR = os.path.dirname(__file__)
|
||||
|
||||
TEMPLATES[0]['DIRS'].append(os.path.join(TEST_DIR, 'templates'))
|
||||
TEMPLATES[0]['DIRS'].append(os.path.join(TEST_DIR, 'templates')) # NOQA
|
||||
|
||||
INSTALLED_APPS.append('tests.testdummy')
|
||||
INSTALLED_APPS.append('tests.testdummy') # NOQA
|
||||
|
||||
MEDIA_ROOT = os.path.join(TEST_DIR, 'media')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user