BOM-2477: pylint warnings lint-amnesty (#27585)
This commit is contained in:
@@ -5,7 +5,7 @@ Tests for course dates fragment.
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
import six
|
||||
import six # lint-amnesty, pylint: disable=unused-import
|
||||
from django.urls import reverse
|
||||
|
||||
from common.djangoapps.student.tests.factories import UserFactory
|
||||
|
||||
@@ -7,7 +7,7 @@ because the Studio course outline may need these utilities.
|
||||
from enum import Enum
|
||||
from typing import Optional
|
||||
|
||||
import six
|
||||
import six # lint-amnesty, pylint: disable=unused-import
|
||||
from django.conf import settings
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.http import HttpRequest
|
||||
|
||||
@@ -3,7 +3,7 @@ Views for the course home page.
|
||||
"""
|
||||
|
||||
|
||||
import six
|
||||
import six # lint-amnesty, pylint: disable=unused-import
|
||||
from django.conf import settings
|
||||
from django.template.context_processors import csrf
|
||||
from django.template.loader import render_to_string
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Views that handle course updates.
|
||||
"""
|
||||
|
||||
import six
|
||||
import six # lint-amnesty, pylint: disable=unused-import
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.template.context_processors import csrf
|
||||
from django.template.loader import render_to_string
|
||||
|
||||
@@ -3,7 +3,7 @@ View logic for handling course welcome messages.
|
||||
"""
|
||||
|
||||
|
||||
import six
|
||||
import six # lint-amnesty, pylint: disable=unused-import
|
||||
from django.http import HttpResponse
|
||||
from django.template.loader import render_to_string
|
||||
from django.urls import reverse
|
||||
|
||||
Reference in New Issue
Block a user