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