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
e15d4aea
Commit
e15d4aea
authored
Nov 30, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/pylint: disable=F0401/pylint: disable=import-error/
parent
d14c39a1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
12 additions
and
12 deletions
+12
-12
cms/envs/acceptance.py
+1
-1
cms/envs/bok_choy.py
+1
-1
cms/envs/dev.py
+1
-1
cms/envs/devstack.py
+1
-1
common/djangoapps/student/management/tests/test_transfer_students.py
+1
-1
common/djangoapps/third_party_auth/pipeline.py
+2
-2
common/djangoapps/third_party_auth/tests/test_change_enrollment.py
+1
-1
lms/envs/acceptance.py
+1
-1
lms/envs/bok_choy.py
+1
-1
lms/envs/dev.py
+1
-1
lms/envs/devstack.py
+1
-1
No files found.
cms/envs/acceptance.py
View file @
e15d4aea
...
...
@@ -113,7 +113,7 @@ SELENIUM_GRID = {
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
...
...
cms/envs/bok_choy.py
View file @
e15d4aea
...
...
@@ -66,6 +66,6 @@ YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YO
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
cms/envs/dev.py
View file @
e15d4aea
...
...
@@ -180,6 +180,6 @@ if SEGMENT_IO_KEY:
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
cms/envs/devstack.py
View file @
e15d4aea
...
...
@@ -78,7 +78,7 @@ DEBUG_TOOLBAR_MONGO_STACKTRACES = False
###############################################################################
# See if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
...
...
common/djangoapps/student/management/tests/test_transfer_students.py
View file @
e15d4aea
...
...
@@ -7,7 +7,7 @@ from opaque_keys.edx import locator
import
unittest
import
ddt
from
shoppingcart.models
import
Order
,
CertificateItem
# pylint: disable=
F0401
from
shoppingcart.models
import
Order
,
CertificateItem
# pylint: disable=
import-error
from
course_modes.models
import
CourseMode
from
student.management.commands
import
transfer_students
from
student.models
import
CourseEnrollment
,
UNENROLL_DONE
,
EVENT_NAME_ENROLLMENT_DEACTIVATED
,
\
...
...
common/djangoapps/third_party_auth/pipeline.py
View file @
e15d4aea
...
...
@@ -73,8 +73,8 @@ from social.exceptions import AuthException
from
social.pipeline
import
partial
import
student
from
shoppingcart.models
import
Order
,
PaidCourseRegistration
# pylint: disable=
F0401
from
shoppingcart.exceptions
import
(
# pylint: disable=
F0401
from
shoppingcart.models
import
Order
,
PaidCourseRegistration
# pylint: disable=
import-error
from
shoppingcart.exceptions
import
(
# pylint: disable=
import-error
CourseDoesNotExistException
,
ItemAlreadyInCartException
,
AlreadyEnrolledInCourseException
...
...
common/djangoapps/third_party_auth/tests/test_change_enrollment.py
View file @
e15d4aea
...
...
@@ -5,7 +5,7 @@ import unittest
import
ddt
import
pytz
from
third_party_auth
import
pipeline
from
shoppingcart.models
import
Order
,
PaidCourseRegistration
# pylint: disable=
F0401
from
shoppingcart.models
import
Order
,
PaidCourseRegistration
# pylint: disable=
import-error
from
social.apps.django_app
import
utils
as
social_utils
from
django.conf
import
settings
from
django.contrib.sessions.backends
import
cache
...
...
lms/envs/acceptance.py
View file @
e15d4aea
...
...
@@ -159,7 +159,7 @@ SELENIUM_GRID = {
#####################################################################
# See if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
...
...
lms/envs/bok_choy.py
View file @
e15d4aea
...
...
@@ -81,6 +81,6 @@ YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YO
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
lms/envs/dev.py
View file @
e15d4aea
...
...
@@ -308,6 +308,6 @@ REGISTRATION_CODE_LENGTH = 8
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
lms/envs/devstack.py
View file @
e15d4aea
...
...
@@ -98,7 +98,7 @@ FEATURES['ENABLE_VIDEO_ABSTRACTION_LAYER_API'] = True
#####################################################################
# See if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=
F0401
from
.private
import
*
# pylint: disable=
import-error
except
ImportError
:
pass
...
...
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