Commit b11e7483 by e0d

Merge pull request #142 from edx/e0d/pylint-and-import

added pylint ignores, fixed missing import
parents d715c61d 273df4e1
...@@ -4,9 +4,14 @@ database migrations, since we don't want to normally run the ...@@ -4,9 +4,14 @@ database migrations, since we don't want to normally run the
LMS with enough privileges to modify the database schema. LMS with enough privileges to modify the database schema.
""" """
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=W0401, W0614
# Import everything from .aws so that our settings are based on those. # Import everything from .aws so that our settings are based on those.
from .aws import * from .aws import *
import os import os
from django.core.exceptions import ImproperlyConfigured
USER = os.environ.get('DB_MIGRATION_USER', 'root') USER = os.environ.get('DB_MIGRATION_USER', 'root')
PASSWORD = os.environ.get('DB_MIGRATION_PASS', None) PASSWORD = os.environ.get('DB_MIGRATION_PASS', None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment