Deal with linting violations.
This commit is contained in:
@@ -21,6 +21,7 @@ class EdxOAuth2AuthorizationView(AuthorizationView):
|
||||
Restricted Applications support and custom filters.
|
||||
"""
|
||||
def get(self, request, *args, **kwargs):
|
||||
# pylint: disable=line-too-long
|
||||
# Note: This code is copied from https://github.com/evonove/django-oauth-toolkit/blob/34f3b7b3511c15686039079026165feaadb1b87d/oauth2_provider/views/base.py#L111
|
||||
# Places that we have changed are noted with ***.
|
||||
application = None
|
||||
|
||||
@@ -5,7 +5,6 @@ Specialized models for oauth_dispatch djangoapp
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
import six
|
||||
from django.db import models
|
||||
from django.utils.encoding import python_2_unicode_compatible
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
Reference in New Issue
Block a user