Commit d406261e by Sarina Canelake

s/pylint: disable=W0614/pylint: disable=unused-wildcard-import/

parent 5f723e8d
...@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests. ...@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .test import * from .test import *
from lms.envs.sauce import * from lms.envs.sauce import *
......
...@@ -4,7 +4,7 @@ This is the default template for our main set of AWS servers. ...@@ -4,7 +4,7 @@ This is the default template for our main set of AWS servers.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
import json import json
......
...@@ -6,7 +6,7 @@ LMS with enough privileges to modify the database schema. ...@@ -6,7 +6,7 @@ LMS with enough privileges to modify the database schema.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
# 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 *
......
...@@ -15,7 +15,7 @@ from path import path ...@@ -15,7 +15,7 @@ from path import path
os.environ['SERVICE_VARIANT'] = 'bok_choy' os.environ['SERVICE_VARIANT'] = 'bok_choy'
os.environ['CONFIG_ROOT'] = path(__file__).abspath().dirname() # pylint: disable=no-value-for-parameter os.environ['CONFIG_ROOT'] = path(__file__).abspath().dirname() # pylint: disable=no-value-for-parameter
from .aws import * # pylint: disable=wildcard-import, W0614 from .aws import * # pylint: disable=wildcard-import, unused-wildcard-import
######################### Testing overrides #################################### ######################### Testing overrides ####################################
......
...@@ -22,7 +22,7 @@ Longer TODO: ...@@ -22,7 +22,7 @@ Longer TODO:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0611, W0614 # pylint: disable=wildcard-import, W0611, unused-wildcard-import
import imp import imp
import os import os
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
A new cms ENV configuration to use a slow upload file handler to help test A new cms ENV configuration to use a slow upload file handler to help test
progress bars in uploads progress bars in uploads
""" """
# pylint: disable=W0614 # pylint: disable=unused-wildcard-import
from .dev import * # pylint: disable=wildcard-import from .dev import * # pylint: disable=wildcard-import
FILE_UPLOAD_HANDLERS = ( FILE_UPLOAD_HANDLERS = (
......
...@@ -3,7 +3,7 @@ This config file runs the simplest dev environment""" ...@@ -3,7 +3,7 @@ This config file runs the simplest dev environment"""
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .common import * from .common import *
from logsettings import get_logger_config from logsettings import get_logger_config
......
...@@ -4,7 +4,7 @@ This configuration is to turn on the Django Toolbar stats for DB access stats, f ...@@ -4,7 +4,7 @@ This configuration is to turn on the Django Toolbar stats for DB access stats, f
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .dev import * from .dev import *
......
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
# dev environment for ichuang/mit # dev environment for ichuang/mit
......
...@@ -5,7 +5,7 @@ the same process between preview and published ...@@ -5,7 +5,7 @@ the same process between preview and published
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .dev import * from .dev import *
......
...@@ -10,7 +10,7 @@ django_admin.py celery worker ...@@ -10,7 +10,7 @@ django_admin.py celery worker
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from dev import * from dev import *
......
...@@ -3,7 +3,7 @@ This is a localdev test for the Microsite processing pipeline ...@@ -3,7 +3,7 @@ This is a localdev test for the Microsite processing pipeline
""" """
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .dev import * from .dev import *
......
...@@ -10,7 +10,7 @@ sessions. Assumes structure: ...@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .common import * from .common import *
import os import os
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# pylint: disable=wildcard-import # pylint: disable=wildcard-import
# Disable the "Unused import %s from wildcard import" warning # Disable the "Unused import %s from wildcard import" warning
# pylint: disable=W0614 # pylint: disable=unused-wildcard-import
# Disable the "unused argument" warning because lettuce uses "step" # Disable the "unused argument" warning because lettuce uses "step"
# pylint: disable=unused-argument # pylint: disable=unused-argument
......
...@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests. ...@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .test import * from .test import *
from .sauce import * from .sauce import *
......
...@@ -9,7 +9,7 @@ Common traits: ...@@ -9,7 +9,7 @@ Common traits:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
import json import json
......
...@@ -6,7 +6,7 @@ LMS with enough privileges to modify the database schema. ...@@ -6,7 +6,7 @@ LMS with enough privileges to modify the database schema.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
# 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 *
......
...@@ -18,7 +18,7 @@ TEST_ROOT = CONFIG_ROOT.dirname().dirname() / "test_root" ...@@ -18,7 +18,7 @@ TEST_ROOT = CONFIG_ROOT.dirname().dirname() / "test_root"
os.environ['SERVICE_VARIANT'] = 'bok_choy' os.environ['SERVICE_VARIANT'] = 'bok_choy'
os.environ['CONFIG_ROOT'] = CONFIG_ROOT os.environ['CONFIG_ROOT'] = CONFIG_ROOT
from .aws import * # pylint: disable=wildcard-import, W0614 from .aws import * # pylint: disable=wildcard-import, unused-wildcard-import
######################### Testing overrides #################################### ######################### Testing overrides ####################################
......
...@@ -4,7 +4,7 @@ Settings for the LMS that runs alongside the CMS on AWS ...@@ -4,7 +4,7 @@ Settings for the LMS that runs alongside the CMS on AWS
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from ..aws import * from ..aws import *
......
...@@ -4,7 +4,7 @@ Settings for the LMS that runs alongside the CMS on AWS ...@@ -4,7 +4,7 @@ Settings for the LMS that runs alongside the CMS on AWS
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from ..dev import * from ..dev import *
......
...@@ -3,7 +3,7 @@ This is a localdev test for the Microsite processing pipeline ...@@ -3,7 +3,7 @@ This is a localdev test for the Microsite processing pipeline
""" """
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .dev import * from .dev import *
from ..dev import ENV_ROOT, FEATURES from ..dev import ENV_ROOT, FEATURES
......
...@@ -22,8 +22,7 @@ Longer TODO: ...@@ -22,8 +22,7 @@ Longer TODO:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0611, W0614, invalid-name # pylint: disable=wildcard-import, W0611, unused-wildcard-import, invalid-name
import sys import sys
import os import os
......
...@@ -5,7 +5,7 @@ between dev machines and AWS machines. ...@@ -5,7 +5,7 @@ between dev machines and AWS machines.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .aws import * from .aws import *
......
...@@ -10,7 +10,7 @@ sessions. Assumes structure: ...@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .common import * from .common import *
from logsettings import get_logger_config from logsettings import get_logger_config
......
...@@ -10,7 +10,7 @@ sessions. Assumes structure: ...@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .common import * from .common import *
from .dev import * from .dev import *
......
...@@ -12,7 +12,7 @@ use *.dev domains instead for local testing. ...@@ -12,7 +12,7 @@ use *.dev domains instead for local testing.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .dev import * from .dev import *
......
...@@ -10,7 +10,7 @@ django_admin.py celery worker ...@@ -10,7 +10,7 @@ django_admin.py celery worker
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from dev import * from dev import *
......
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from ..dev import * from ..dev import *
......
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .courses import * from .courses import *
......
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .courses import * from .courses import *
......
...@@ -5,7 +5,7 @@ get shared sessions) ...@@ -5,7 +5,7 @@ get shared sessions)
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from courses import * from courses import *
......
# We intentionally define variables that aren't used # We intentionally define variables that aren't used
# pylint: disable=W0614 # pylint: disable=unused-wildcard-import
DISCUSSION_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff') DISCUSSION_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
# Settings for edx4edx production instance # Settings for edx4edx production instance
from .aws import * from .aws import *
......
...@@ -4,7 +4,7 @@ Settings for load testing. ...@@ -4,7 +4,7 @@ Settings for load testing.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .aws import * from .aws import *
......
...@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests on SauceLabs. ...@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests on SauceLabs.
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
import os import os
......
...@@ -10,7 +10,7 @@ sessions. Assumes structure: ...@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .common import * from .common import *
from logsettings import get_logger_config from logsettings import get_logger_config
......
...@@ -10,7 +10,7 @@ sessions. Assumes structure: ...@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and # We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files # want to import all variables from base settings files
# pylint: disable=wildcard-import, W0614 # pylint: disable=wildcard-import, unused-wildcard-import
from .common import * from .common import *
import os import os
......
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