Commit f223ac84 by Sarina Canelake

s/pylint: disable=W0401/pylint: disable=wildcard-import/

parent c54a71fe
# pylint: disable=W0401, W0511 # pylint: disable=wildcard-import, W0511
"All view functions for contentstore, broken out into submodules" "All view functions for contentstore, broken out into submodules"
......
...@@ -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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, 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 *
......
...@@ -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=W0401, W0614 from .aws import * # pylint: disable=wildcard-import, W0614
######################### 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=W0401, W0611, W0614 # pylint: disable=wildcard-import, W0611, W0614
import imp import imp
import os import os
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
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, W0401 # pylint: disable=W0614
from .dev import * from .dev import * # pylint: disable=wildcard-import
FILE_UPLOAD_HANDLERS = ( FILE_UPLOAD_HANDLERS = (
'contentstore.debug_file_uploader.DebugFileUploader', 'contentstore.debug_file_uploader.DebugFileUploader',
......
...@@ -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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
# 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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
from .common import * from .common import *
import os import os
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# across all lms apps can be put in terrain/common # across all lms apps can be put in terrain/common
# See https://groups.google.com/forum/?fromgroups=#!msg/lettuce-users/5VyU9B4HcX8/USgbGIJdS5QJ # See https://groups.google.com/forum/?fromgroups=#!msg/lettuce-users/5VyU9B4HcX8/USgbGIJdS5QJ
from terrain.browser import * # pylint: disable=W0401 from terrain.browser import * # pylint: disable=wildcard-import
from terrain.steps import * # pylint: disable=W0401 from terrain.steps import * # pylint: disable=wildcard-import
from terrain.factories import * # pylint: disable=W0401 from terrain.factories import * # pylint: disable=wildcard-import
from terrain.setup_prereqs import * # pylint: disable=W0401 from terrain.setup_prereqs import * # pylint: disable=wildcard-import
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Disable the "wildcard import" warning so we can bring in all methods from # Disable the "wildcard import" warning so we can bring in all methods from
# course helpers and ui helpers # course helpers and ui helpers
# pylint: disable=W0401 # 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=W0614
......
...@@ -3,7 +3,7 @@ Container for video module and it's utils. ...@@ -3,7 +3,7 @@ Container for video module and it's utils.
""" """
# Disable wildcard-import warnings. # Disable wildcard-import warnings.
# pylint: disable=W0401 # pylint: disable=wildcard-import
from .transcripts_utils import * from .transcripts_utils import *
from .video_utils import * from .video_utils import *
......
...@@ -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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, 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 *
......
...@@ -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=W0401, W0614 from .aws import * # pylint: disable=wildcard-import, W0614
######################### 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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
from .dev import * from .dev import *
from ..dev import ENV_ROOT, FEATURES from ..dev import ENV_ROOT, FEATURES
......
...@@ -22,7 +22,8 @@ Longer TODO: ...@@ -22,7 +22,8 @@ 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=W0401, W0611, W0614, invalid-name # pylint: disable=wildcard-import, W0611, W0614, 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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
# 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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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=W0401, W0614 # pylint: disable=wildcard-import, W0614
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