Commit e15d4aea by Sarina Canelake

s/pylint: disable=F0401/pylint: disable=import-error/

parent d14c39a1
...@@ -113,7 +113,7 @@ SELENIUM_GRID = { ...@@ -113,7 +113,7 @@ SELENIUM_GRID = {
##################################################################### #####################################################################
# Lastly, see if the developer has any local overrides. # Lastly, see if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
......
...@@ -66,6 +66,6 @@ YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YO ...@@ -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. # Lastly, see if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
...@@ -180,6 +180,6 @@ if SEGMENT_IO_KEY: ...@@ -180,6 +180,6 @@ if SEGMENT_IO_KEY:
##################################################################### #####################################################################
# Lastly, see if the developer has any local overrides. # Lastly, see if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
...@@ -78,7 +78,7 @@ DEBUG_TOOLBAR_MONGO_STACKTRACES = False ...@@ -78,7 +78,7 @@ DEBUG_TOOLBAR_MONGO_STACKTRACES = False
############################################################################### ###############################################################################
# See if the developer has any local overrides. # See if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
......
...@@ -7,7 +7,7 @@ from opaque_keys.edx import locator ...@@ -7,7 +7,7 @@ from opaque_keys.edx import locator
import unittest import unittest
import ddt 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 course_modes.models import CourseMode
from student.management.commands import transfer_students from student.management.commands import transfer_students
from student.models import CourseEnrollment, UNENROLL_DONE, EVENT_NAME_ENROLLMENT_DEACTIVATED, \ from student.models import CourseEnrollment, UNENROLL_DONE, EVENT_NAME_ENROLLMENT_DEACTIVATED, \
......
...@@ -73,8 +73,8 @@ from social.exceptions import AuthException ...@@ -73,8 +73,8 @@ from social.exceptions import AuthException
from social.pipeline import partial from social.pipeline import partial
import student import student
from shoppingcart.models import Order, PaidCourseRegistration # pylint: disable=F0401 from shoppingcart.models import Order, PaidCourseRegistration # pylint: disable=import-error
from shoppingcart.exceptions import ( # pylint: disable=F0401 from shoppingcart.exceptions import ( # pylint: disable=import-error
CourseDoesNotExistException, CourseDoesNotExistException,
ItemAlreadyInCartException, ItemAlreadyInCartException,
AlreadyEnrolledInCourseException AlreadyEnrolledInCourseException
......
...@@ -5,7 +5,7 @@ import unittest ...@@ -5,7 +5,7 @@ import unittest
import ddt import ddt
import pytz import pytz
from third_party_auth import pipeline 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 social.apps.django_app import utils as social_utils
from django.conf import settings from django.conf import settings
from django.contrib.sessions.backends import cache from django.contrib.sessions.backends import cache
......
...@@ -159,7 +159,7 @@ SELENIUM_GRID = { ...@@ -159,7 +159,7 @@ SELENIUM_GRID = {
##################################################################### #####################################################################
# See if the developer has any local overrides. # See if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
......
...@@ -81,6 +81,6 @@ YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YO ...@@ -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. # Lastly, see if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
...@@ -308,6 +308,6 @@ REGISTRATION_CODE_LENGTH = 8 ...@@ -308,6 +308,6 @@ REGISTRATION_CODE_LENGTH = 8
##################################################################### #####################################################################
# Lastly, see if the developer has any local overrides. # Lastly, see if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
...@@ -98,7 +98,7 @@ FEATURES['ENABLE_VIDEO_ABSTRACTION_LAYER_API'] = True ...@@ -98,7 +98,7 @@ FEATURES['ENABLE_VIDEO_ABSTRACTION_LAYER_API'] = True
##################################################################### #####################################################################
# See if the developer has any local overrides. # See if the developer has any local overrides.
try: try:
from .private import * # pylint: disable=F0401 from .private import * # pylint: disable=import-error
except ImportError: except ImportError:
pass pass
......
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