Unverified Commit b55d8f4d authored by David Haynes's avatar David Haynes
Browse files

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 ...@@ -3,7 +3,8 @@ go/admin.py
""" """
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django.contrib import admin from django.contrib import admin
......
...@@ -3,7 +3,8 @@ go/cas_callbacks.py ...@@ -3,7 +3,8 @@ go/cas_callbacks.py
""" """
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django.contrib.auth.models import User from django.contrib.auth.models import User
......
...@@ -3,7 +3,8 @@ go/forms.py ...@@ -3,7 +3,8 @@ go/forms.py
""" """
# Future Imports # 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 # Python stdlib Imports
from datetime import datetime, timedelta from datetime import datetime, timedelta
...@@ -21,7 +22,8 @@ from go.models import URL, RegisteredUser ...@@ -21,7 +22,8 @@ from go.models import URL, RegisteredUser
# Other Imports # Other Imports
from crispy_forms.helper import FormHelper from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Fieldset, Submit, HTML, Div, Field 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 from bootstrap3_datetime.widgets import DateTimePicker
class URLForm(forms.ModelForm): class URLForm(forms.ModelForm):
......
"""
go/commands/expirelinks.py
"""
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django.core.management.base import BaseCommand from django.core.management.base import BaseCommand
......
"""
go/commands/test_expirelinks.py
"""
# Future Imports # 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 # Python stdlib Imports
from datetime import timedelta from datetime import timedelta
......
"""
go/templatetags/go_extras.py
"""
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django import template from django import template
......
"""
go/templatetags/test_go_extras.py
"""
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django.test import TestCase from django.test import TestCase
...@@ -25,7 +30,8 @@ class GoExtrasTest(TestCase): ...@@ -25,7 +30,8 @@ class GoExtrasTest(TestCase):
def test_is_registered_false(self): 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') getUser = User.objects.get(username='dhaynes')
......
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django.test import TestCase from django.test import TestCase
......
...@@ -6,7 +6,8 @@ References: ...@@ -6,7 +6,8 @@ References:
""" """
# Future Imports # 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 # Python stdlib Imports
from datetime import datetime, timedelta from datetime import datetime, timedelta
......
# Future Imports # Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division from __future__ import (absolute_import, division, print_function,
unicode_literals)
# Django Imports # Django Imports
from django.test import TestCase from django.test import TestCase
......
...@@ -13,9 +13,8 @@ from __future__ import (absolute_import, division, print_function, ...@@ -13,9 +13,8 @@ from __future__ import (absolute_import, division, print_function,
from django.test import TestCase from django.test import TestCase
# App Imports # App Imports
from go.views import ( from go.views import (index, view, my_links, delete, signup, redirection,
index, view, my_links, delete, signup, redirection, useradmin useradmin)
)
class IndexTest(TestCase): class IndexTest(TestCase):
""" """
......
...@@ -3,7 +3,8 @@ go/views.py ...@@ -3,7 +3,8 @@ go/views.py
""" """
# Future Imports # 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 # Python stdlib imports
from datetime import timedelta 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