Skip to content

Clean up flake8 Errors #22

@dcslagel

Description

@dcslagel
cd las-util-django/src/las_util
flake8 *.py

admin.py:1:1: F401 'django.contrib.admin' imported but unused
cntrl.py:22:1: W293 blank line contains whitespace
cntrl.py:46:30: W291 trailing whitespace
cntrl.py:54:80: E501 line too long (82 > 79 characters)
models.py:14:1: E302 expected 2 blank lines, found 1
models.py:19:1: E302 expected 2 blank lines, found 1
models.py:25:1: E302 expected 2 blank lines, found 1
models.py:35:80: E501 line too long (85 > 79 characters)
models.py:37:80: E501 line too long (86 > 79 characters)
serializers.py:12:1: E302 expected 2 blank lines, found 1
serializers.py:18:1: E302 expected 2 blank lines, found 1
urls.py:16:5: E265 block comment should start with '# '
urls.py:18:5: E265 block comment should start with '# '
urls.py:25:5: E265 block comment should start with '# '
urls.py:27:5: E265 block comment should start with '# '
views.py:28:1: E302 expected 2 blank lines, found 1
views.py:45:1: E302 expected 2 blank lines, found 1
views.py:67:1: E302 expected 2 blank lines, found 1
views.py:72:80: E501 line too long (81 > 79 characters)
views.py:83:1: E302 expected 2 blank lines, found 1
views.py:121:33: F821 undefined name 'form'
views.py:130:1: E303 too many blank lines (3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions