Fix Pylint: W0403(relative-import)
This commit is contained in:
@@ -2,7 +2,7 @@ import unittest
|
||||
import threading
|
||||
import json
|
||||
import urllib2
|
||||
from mock_cs_server import MockCommentServiceServer
|
||||
from django_comment_client.tests.mock_cs_server.mock_cs_server import MockCommentServiceServer
|
||||
from nose.plugins.skip import SkipTest
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ from xmodule.open_ended_grading_classes.grading_service_module import GradingSer
|
||||
import json
|
||||
from student.models import unique_id_for_user
|
||||
|
||||
import open_ended_notifications
|
||||
from open_ended_grading import open_ended_notifications
|
||||
|
||||
from xmodule.modulestore.django import modulestore
|
||||
from xmodule.modulestore import search
|
||||
|
||||
@@ -12,7 +12,7 @@ django_admin.py celery worker
|
||||
# want to import all variables from base settings files
|
||||
# pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
from dev import *
|
||||
from lms.envs.dev import *
|
||||
|
||||
################################# CELERY ######################################
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ get shared sessions)
|
||||
# want to import all variables from base settings files
|
||||
# pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
from courses import *
|
||||
from lms.envs.devgroups.courses import *
|
||||
|
||||
# Move this to a shared file later:
|
||||
for class_id, db_name in CLASSES_TO_DBS.items():
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from .utils import CommentClientRequestError, perform_request
|
||||
|
||||
from .thread import Thread, _url_for_flag_abuse_thread, _url_for_unflag_abuse_thread
|
||||
import models
|
||||
import settings
|
||||
from lms.lib.comment_client import models
|
||||
from lms.lib.comment_client import settings
|
||||
|
||||
|
||||
class Comment(models.Model):
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""Provides base Commentable model class"""
|
||||
import models
|
||||
import settings
|
||||
from lms.lib.comment_client import models
|
||||
from lms.lib.comment_client import settings
|
||||
|
||||
|
||||
class Commentable(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user