Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f223ac84
Commit
f223ac84
authored
Nov 30, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/pylint: disable=W0401/pylint: disable=wildcard-import/
parent
c54a71fe
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
44 additions
and
43 deletions
+44
-43
cms/djangoapps/contentstore/views/__init__.py
+1
-1
cms/envs/acceptance.py
+1
-1
cms/envs/aws.py
+1
-1
cms/envs/aws_migrate.py
+1
-1
cms/envs/bok_choy.py
+1
-1
cms/envs/common.py
+1
-1
cms/envs/debug_upload.py
+2
-2
cms/envs/dev.py
+1
-1
cms/envs/dev_dbperf.py
+1
-1
cms/envs/dev_ike.py
+1
-1
cms/envs/dev_shared_preview.py
+1
-1
cms/envs/dev_with_worker.py
+1
-1
cms/envs/microsite_test.py
+1
-1
cms/envs/test.py
+1
-1
common/djangoapps/terrain/__init__.py
+4
-4
common/djangoapps/terrain/steps.py
+1
-1
common/lib/xmodule/xmodule/video_module/__init__.py
+1
-1
lms/envs/acceptance.py
+1
-1
lms/envs/aws.py
+1
-1
lms/envs/aws_migrate.py
+1
-1
lms/envs/bok_choy.py
+1
-1
lms/envs/cms/aws.py
+1
-1
lms/envs/cms/dev.py
+1
-1
lms/envs/cms/microsite_test.py
+1
-1
lms/envs/common.py
+2
-1
lms/envs/content.py
+1
-1
lms/envs/dev.py
+1
-1
lms/envs/dev_ike.py
+1
-1
lms/envs/dev_int.py
+1
-1
lms/envs/dev_with_worker.py
+1
-1
lms/envs/devgroups/courses.py
+1
-1
lms/envs/devgroups/h_cs50.py
+1
-1
lms/envs/devgroups/m_6002.py
+1
-1
lms/envs/devgroups/portal.py
+1
-1
lms/envs/edx4edx_aws.py
+1
-1
lms/envs/load_test.py
+1
-1
lms/envs/sauce.py
+1
-1
lms/envs/static.py
+1
-1
lms/envs/test.py
+1
-1
No files found.
cms/djangoapps/contentstore/views/__init__.py
View file @
f223ac84
# pylint: disable=
W0401
, W0511
# pylint: disable=
wildcard-import
, W0511
"All view functions for contentstore, broken out into submodules"
...
...
cms/envs/acceptance.py
View file @
f223ac84
...
...
@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests.
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.test
import
*
from
lms.envs.sauce
import
*
...
...
cms/envs/aws.py
View file @
f223ac84
...
...
@@ -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
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
import
json
...
...
cms/envs/aws_migrate.py
View file @
f223ac84
...
...
@@ -6,7 +6,7 @@ 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
# pylint: disable=
wildcard-import
, W0614
# Import everything from .aws so that our settings are based on those.
from
.aws
import
*
...
...
cms/envs/bok_choy.py
View file @
f223ac84
...
...
@@ -15,7 +15,7 @@ from path import path
os
.
environ
[
'SERVICE_VARIANT'
]
=
'bok_choy'
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 ####################################
...
...
cms/envs/common.py
View file @
f223ac84
...
...
@@ -22,7 +22,7 @@ Longer TODO:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0611, W0614
# pylint: disable=
wildcard-import
, W0611, W0614
import
imp
import
os
...
...
cms/envs/debug_upload.py
View file @
f223ac84
...
...
@@ -2,8 +2,8 @@
A new cms ENV configuration to use a slow upload file handler to help test
progress bars in uploads
"""
# pylint: disable=W0614
, W0401
from
.dev
import
*
# pylint: disable=W0614
from
.dev
import
*
# pylint: disable=wildcard-import
FILE_UPLOAD_HANDLERS
=
(
'contentstore.debug_file_uploader.DebugFileUploader'
,
...
...
cms/envs/dev.py
View file @
f223ac84
...
...
@@ -3,7 +3,7 @@ This config file runs the simplest dev environment"""
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.common
import
*
from
logsettings
import
get_logger_config
...
...
cms/envs/dev_dbperf.py
View file @
f223ac84
...
...
@@ -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
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.dev
import
*
...
...
cms/envs/dev_ike.py
View file @
f223ac84
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
# dev environment for ichuang/mit
...
...
cms/envs/dev_shared_preview.py
View file @
f223ac84
...
...
@@ -5,7 +5,7 @@ the same process between preview and published
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.dev
import
*
...
...
cms/envs/dev_with_worker.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ django_admin.py celery worker
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
dev
import
*
...
...
cms/envs/microsite_test.py
View file @
f223ac84
...
...
@@ -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
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.dev
import
*
...
...
cms/envs/test.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.common
import
*
import
os
...
...
common/djangoapps/terrain/__init__.py
View file @
f223ac84
...
...
@@ -2,7 +2,7 @@
# across all lms apps can be put in terrain/common
# See https://groups.google.com/forum/?fromgroups=#!msg/lettuce-users/5VyU9B4HcX8/USgbGIJdS5QJ
from
terrain.browser
import
*
# pylint: disable=
W0401
from
terrain.steps
import
*
# pylint: disable=
W0401
from
terrain.factories
import
*
# pylint: disable=
W0401
from
terrain.setup_prereqs
import
*
# pylint: disable=
W0401
from
terrain.browser
import
*
# pylint: disable=
wildcard-import
from
terrain.steps
import
*
# pylint: disable=
wildcard-import
from
terrain.factories
import
*
# pylint: disable=
wildcard-import
from
terrain.setup_prereqs
import
*
# pylint: disable=
wildcard-import
common/djangoapps/terrain/steps.py
View file @
f223ac84
...
...
@@ -3,7 +3,7 @@
# Disable the "wildcard import" warning so we can bring in all methods from
# course helpers and ui helpers
# pylint: disable=
W0401
# pylint: disable=
wildcard-import
# Disable the "Unused import %s from wildcard import" warning
# pylint: disable=W0614
...
...
common/lib/xmodule/xmodule/video_module/__init__.py
View file @
f223ac84
...
...
@@ -3,7 +3,7 @@ Container for video module and it's utils.
"""
# Disable wildcard-import warnings.
# pylint: disable=
W0401
# pylint: disable=
wildcard-import
from
.transcripts_utils
import
*
from
.video_utils
import
*
...
...
lms/envs/acceptance.py
View file @
f223ac84
...
...
@@ -5,7 +5,7 @@ so that we can run the lettuce acceptance tests.
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.test
import
*
from
.sauce
import
*
...
...
lms/envs/aws.py
View file @
f223ac84
...
...
@@ -9,7 +9,7 @@ Common traits:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
import
json
...
...
lms/envs/aws_migrate.py
View file @
f223ac84
...
...
@@ -6,7 +6,7 @@ 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
# pylint: disable=
wildcard-import
, W0614
# Import everything from .aws so that our settings are based on those.
from
.aws
import
*
...
...
lms/envs/bok_choy.py
View file @
f223ac84
...
...
@@ -18,7 +18,7 @@ TEST_ROOT = CONFIG_ROOT.dirname().dirname() / "test_root"
os
.
environ
[
'SERVICE_VARIANT'
]
=
'bok_choy'
os
.
environ
[
'CONFIG_ROOT'
]
=
CONFIG_ROOT
from
.aws
import
*
# pylint: disable=
W0401
, W0614
from
.aws
import
*
# pylint: disable=
wildcard-import
, W0614
######################### Testing overrides ####################################
...
...
lms/envs/cms/aws.py
View file @
f223ac84
...
...
@@ -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
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
..aws
import
*
...
...
lms/envs/cms/dev.py
View file @
f223ac84
...
...
@@ -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
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
..dev
import
*
...
...
lms/envs/cms/microsite_test.py
View file @
f223ac84
...
...
@@ -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
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.dev
import
*
from
..dev
import
ENV_ROOT
,
FEATURES
...
...
lms/envs/common.py
View file @
f223ac84
...
...
@@ -22,7 +22,8 @@ Longer TODO:
# We intentionally define lots of variables that aren't used, and
# 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
os
...
...
lms/envs/content.py
View file @
f223ac84
...
...
@@ -5,7 +5,7 @@ between dev machines and AWS machines.
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.aws
import
*
...
...
lms/envs/dev.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.common
import
*
from
logsettings
import
get_logger_config
...
...
lms/envs/dev_ike.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.common
import
*
from
.dev
import
*
...
...
lms/envs/dev_int.py
View file @
f223ac84
...
...
@@ -12,7 +12,7 @@ use *.dev domains instead for local testing.
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.dev
import
*
...
...
lms/envs/dev_with_worker.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ django_admin.py celery worker
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
dev
import
*
...
...
lms/envs/devgroups/courses.py
View file @
f223ac84
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
..dev
import
*
...
...
lms/envs/devgroups/h_cs50.py
View file @
f223ac84
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.courses
import
*
...
...
lms/envs/devgroups/m_6002.py
View file @
f223ac84
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.courses
import
*
...
...
lms/envs/devgroups/portal.py
View file @
f223ac84
...
...
@@ -5,7 +5,7 @@ get shared sessions)
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
courses
import
*
...
...
lms/envs/edx4edx_aws.py
View file @
f223ac84
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
# Settings for edx4edx production instance
from
.aws
import
*
...
...
lms/envs/load_test.py
View file @
f223ac84
...
...
@@ -4,7 +4,7 @@ Settings for load testing.
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.aws
import
*
...
...
lms/envs/sauce.py
View file @
f223ac84
...
...
@@ -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
# 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
import
os
...
...
lms/envs/static.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.common
import
*
from
logsettings
import
get_logger_config
...
...
lms/envs/test.py
View file @
f223ac84
...
...
@@ -10,7 +10,7 @@ sessions. Assumes structure:
# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
# pylint: disable=
W0401
, W0614
# pylint: disable=
wildcard-import
, W0614
from
.common
import
*
import
os
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment