More formatting modifications

- Man those linter lines really make me go crazy
parent efbd726b
Pipeline #1148 passed with stage
in 1 minute and 12 seconds
......@@ -3,7 +3,8 @@ go/admin.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django.contrib import admin
......
......@@ -3,7 +3,8 @@ go/cas_callbacks.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django.contrib.auth.models import User
......
......@@ -3,7 +3,8 @@ go/forms.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Python stdlib Imports
from datetime import datetime, timedelta
......@@ -21,7 +22,8 @@ from go.models import URL, RegisteredUser
# Other Imports
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Fieldset, Submit, HTML, Div, Field
from crispy_forms.bootstrap import StrictButton, PrependedText, Accordion, AccordionGroup
from crispy_forms.bootstrap import (StrictButton, PrependedText, Accordion,
AccordionGroup)
from bootstrap3_datetime.widgets import DateTimePicker
class URLForm(forms.ModelForm):
......
"""
go/commands/expirelinks.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django.core.management.base import BaseCommand
......
"""
go/commands/test_expirelinks.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Python stdlib Imports
from datetime import timedelta
......
"""
go/templatetags/go_extras.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django import template
......
"""
go/templatetags/test_go_extras.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django.test import TestCase
......@@ -11,12 +16,12 @@ from go.models import RegisteredUser
class GoExtrasTest(TestCase):
"""
Test cases for the template helper functions in go_extras.py
Test cases for the template helper functions in go_extras.py
"""
def setUp(self):
"""
Create a dummy user to be tested against.
Create a dummy user to be tested against.
"""
User.objects.create(username='dhaynes', password='password')
......@@ -25,7 +30,8 @@ class GoExtrasTest(TestCase):
def test_is_registered_false(self):
"""
Test the is_registered function to see if it gives correct false answers
Test the is_registered function to see if it gives correct false
answers
"""
getUser = User.objects.get(username='dhaynes')
......@@ -38,7 +44,7 @@ class GoExtrasTest(TestCase):
def test_is_registered_true(self):
"""
Test the is_registered function to see if it gives correct true answers
Test the is_registered function to see if it gives correct true answers
"""
getUser = User.objects.get(username='dhaynes')
......@@ -53,7 +59,7 @@ class GoExtrasTest(TestCase):
def test_is_approved_false(self):
"""
Test the is_registered function to see if it gives correct false answers
Test the is_registered function to see if it gives correct false answers
"""
getUser = User.objects.get(username='dhaynes')
......@@ -67,7 +73,7 @@ class GoExtrasTest(TestCase):
def test_is_approved_true(self):
"""
Test the is_registered function to see if it gives correct true answers
Test the is_registered function to see if it gives correct true answers
"""
getUser = User.objects.get(username='dhaynes')
......
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django.test import TestCase
......
......@@ -6,7 +6,8 @@ References:
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Python stdlib Imports
from datetime import datetime, timedelta
......
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports
from django.test import TestCase
......
......@@ -13,9 +13,8 @@ from __future__ import (absolute_import, division, print_function,
from django.test import TestCase
# App Imports
from go.views import (
index, view, my_links, delete, signup, redirection, useradmin
)
from go.views import (index, view, my_links, delete, signup, redirection,
useradmin)
class IndexTest(TestCase):
"""
......
......@@ -3,7 +3,8 @@ go/views.py
"""
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division
from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Python stdlib imports
from datetime import timedelta
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment