PEP8 updates.

This commit is contained in:
Roberto Rosario
2015-10-19 01:27:26 -04:00
parent e57080b06d
commit bfe621ba89
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -1096,8 +1096,8 @@ THE SOFTWARE.
level = 'INFO'
loggers = {}
for app in apps.apps.get_app_configs():
loggers[app.name] = {
for project_app in apps.apps.get_app_configs():
loggers[project_app.name] = {
'handlers': ['console'],
'propagate': True,
'level': level,
@@ -10,8 +10,11 @@ class Command(management.BaseCommand):
help = 'Run all configured tests for the project.'
option_list = management.BaseCommand.option_list + (
make_option('--nomigrations', action='store_true', dest='nomigrations', default=False,
help='Don\'t use migrations when creating the test database.'),
make_option(
'--nomigrations', action='store_true', dest='nomigrations',
default=False,
help='Don\'t use migrations when creating the test database.'
),
)
def handle(self, *args, **options):
-1
View File
@@ -1,7 +1,6 @@
from __future__ import unicode_literals
from django.contrib.auth.models import User
from django.core.files import File
from django.core.urlresolvers import reverse
from django.test.client import Client
from django.test import TestCase