Eliminate instances of unused-import Pylint violation

This commit is contained in:
Sarina Canelake
2015-07-10 10:35:42 -04:00
parent 4a1e617289
commit ba8fd1c21d
78 changed files with 66 additions and 146 deletions

View File

@@ -1,2 +1,3 @@
# pylint: disable=unused-import, missing-docstring
# TODO: eventually move this implementation into the user_api
from student.forms import PasswordResetFormNoActive

View File

@@ -7,14 +7,11 @@ import csv
from collections import defaultdict
from unittest import skipUnless
import ddt
from django.conf import settings
from django.test.utils import override_settings
from django.core.management.base import CommandError
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase, mixed_store_config
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
from xmodule.modulestore.tests.factories import CourseFactory
from student.tests.factories import UserFactory, CourseEnrollmentFactory
from student.models import CourseEnrollment

View File

@@ -1,7 +1,7 @@
from django.contrib.auth.models import User
from django.core.validators import RegexValidator
from django.db import models
from django.db.models.signals import pre_delete, post_delete, pre_save, post_save
from django.db.models.signals import post_delete, pre_save, post_save
from django.dispatch import receiver
from model_utils.models import TimeStampedModel

View File

@@ -1,5 +1,6 @@
import json
"""
Test UserPreferenceModel and UserPreference events
"""
from django.db import IntegrityError
from django.test import TestCase