Fix all E303 pep8 errors.

This commit is contained in:
Feanil Patel
2019-12-30 12:25:38 -05:00
parent 61e1eda20d
commit 6e3fe00fff
783 changed files with 0 additions and 793 deletions

View File

@@ -1,7 +1,6 @@
"""Third party authentication. """
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
default_app_config = 'third_party_auth.apps.ThirdPartyAuthConfig'

View File

@@ -1,7 +1,6 @@
""" Django REST Framework Serializers """
from rest_framework import serializers

View File

@@ -1,7 +1,6 @@
""" URL configuration for the third party auth API """
from django.conf import settings
from django.conf.urls import url

View File

@@ -3,7 +3,6 @@ Third Party Auth REST API views
"""
from collections import namedtuple
from django.conf import settings

View File

@@ -1,6 +1,5 @@
from django.apps import AppConfig
from django.conf import settings

View File

@@ -1,7 +1,6 @@
"""Middleware classes for third_party_auth."""
import six.moves.urllib.parse # pylint: disable=import-error
from django.contrib import messages
from django.shortcuts import redirect

View File

@@ -58,7 +58,6 @@ See https://python-social-auth.readthedocs.io/en/latest/pipeline.html for more d
"""
import base64
import hashlib
import hmac

View File

@@ -4,7 +4,6 @@ ConfigurationModels rather than django.settings
"""
from social_core.backends.oauth import OAuthAuth
from social_django.strategy import DjangoStrategy

View File

@@ -4,7 +4,6 @@ Code to manage fetching and storing the metadata of IdPs.
"""
import datetime
import logging

View File

@@ -1,7 +1,6 @@
"""Mock data for SAMLIdentityProvider"""
from social_core.backends.saml import OID_MAIL, OID_GIVEN_NAME, OID_SURNAME, OID_COMMON_NAME, OID_USERID
expected_user_details = {

View File

@@ -3,7 +3,6 @@ Unit tests for third_party_auth LTI auth providers
"""
import unittest
from oauthlib.common import Request

View File

@@ -1,7 +1,6 @@
"""Unit tests for third_party_auth/pipeline.py."""
import unittest
from third_party_auth import pipeline

View File

@@ -1,7 +1,6 @@
"""Integration tests for pipeline.py."""
import datetime
import unittest

View File

@@ -1,7 +1,6 @@
"""Unit tests for provider.py."""
import unittest
from django.contrib.sites.models import Site

View File

@@ -3,7 +3,6 @@ Unit tests for third_party_auth SAML auth providers
"""
import mock
from third_party_auth.saml import EdXSAMLIdentityProvider, get_saml_idp_class

View File

@@ -1,7 +1,6 @@
"""Unit tests for settings.py."""
import unittest
from mock import patch

View File

@@ -3,7 +3,6 @@ Test the views served by third_party_auth.
"""
import unittest
import ddt

View File

@@ -5,7 +5,6 @@ Used by Django and non-Django tests; must not have Django deps.
"""
import os.path
from contextlib import contextmanager

View File

@@ -1,7 +1,6 @@
"""Url configuration for the auth module."""
from django.conf.urls import include, url
from .views import (

View File

@@ -3,7 +3,6 @@ Utility functions for third_party_auth
"""
from django.contrib.auth.models import User