Clean up a bunch of PEP-8/pyflakes problems.

Review Request #6284 — Created Sept. 2, 2014 and submitted

Information

Djblets
master
7dad422...

Reviewers

This change fixes up a bunch of relatively straightforward errors. Most of
these have to do with particulars of whitespace and indentation.

Ran unit tests.

Description From Last Updated

Blank line between these.

chipx86chipx86

""" on the next line.

chipx86chipx86

Same here.

chipx86chipx86

Same here.

chipx86chipx86

Same here.

chipx86chipx86

Same here.

chipx86chipx86

Blank line between these.

chipx86chipx86

Blank line between these.

chipx86chipx86

Blank line between these.

chipx86chipx86

Col: 23 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 30 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 22 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 26 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 23 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 21 E241 multiple spaces after ':'

reviewbotreviewbot

Blank line between these.

chipx86chipx86

Blank line between these.

chipx86chipx86

""" on the next line.

chipx86chipx86

Same here.

chipx86chipx86

Same here.

chipx86chipx86

Same here.

chipx86chipx86

Col: 23 E225 missing whitespace around operator

reviewbotreviewbot

'contextlib' imported but unused

reviewbotreviewbot

Col: 23 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 30 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 22 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 26 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 23 E241 multiple spaces after ':'

reviewbotreviewbot

Col: 21 E241 multiple spaces after ':'

reviewbotreviewbot

'contextlib' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/datagrid/grids.py
        djblets/extensions/urls.py
        djblets/extensions/packaging.py
        djblets/util/templatetags/djblets_images.py
        djblets/webapi/decorators.py
        djblets/util/templatetags/djblets_utils.py
        djblets/extensions/tests.py
        djblets/util/templatetags/djblets_email.py
        djblets/log/urls.py
        djblets/extensions/resources.py
        djblets/feedview/test_urls.py
        djblets/webapi/errors.py
        djblets/urls/decorators.py
        djblets/extensions/hooks.py
        djblets/siteconfig/django_settings.py
        djblets/util/tests.py
        djblets/testing/urls.py
        djblets/log/middleware.py
        djblets/auth/forms.py
        djblets/extensions/test/urls.py
        djblets/settings.py
        djblets/feedview/views.py
        djblets/util/decorators.py
        djblets/urls/root.py
        djblets/extensions/manager.py
        djblets/testing/testcases.py
        djblets/cache/backend.py
        djblets/log/views.py
        djblets/datagrid/tests.py
        djblets/util/http.py
        djblets/auth/util.py
        djblets/webapi/resources.py
        tests/runtests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/datagrid/grids.py
        djblets/extensions/urls.py
        djblets/extensions/packaging.py
        djblets/util/templatetags/djblets_images.py
        djblets/webapi/decorators.py
        djblets/util/templatetags/djblets_utils.py
        djblets/extensions/tests.py
        djblets/util/templatetags/djblets_email.py
        djblets/log/urls.py
        djblets/extensions/resources.py
        djblets/feedview/test_urls.py
        djblets/webapi/errors.py
        djblets/urls/decorators.py
        djblets/extensions/hooks.py
        djblets/siteconfig/django_settings.py
        djblets/util/tests.py
        djblets/testing/urls.py
        djblets/log/middleware.py
        djblets/auth/forms.py
        djblets/extensions/test/urls.py
        djblets/settings.py
        djblets/feedview/views.py
        djblets/util/decorators.py
        djblets/urls/root.py
        djblets/extensions/manager.py
        djblets/testing/testcases.py
        djblets/cache/backend.py
        djblets/log/views.py
        djblets/datagrid/tests.py
        djblets/util/http.py
        djblets/auth/util.py
        djblets/webapi/resources.py
        tests/runtests.py
    
    
  2. djblets/siteconfig/django_settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 23
     E241 multiple spaces after ':'
    
  3. djblets/siteconfig/django_settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 30
     E241 multiple spaces after ':'
    
  4. djblets/siteconfig/django_settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 22
     E241 multiple spaces after ':'
    
  5. djblets/siteconfig/django_settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 26
     E241 multiple spaces after ':'
    
  6. djblets/siteconfig/django_settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 23
     E241 multiple spaces after ':'
    
  7. djblets/siteconfig/django_settings.py (Diff revision 1)
     
     
    Show all issues
    Col: 21
     E241 multiple spaces after ':'
    
  8. djblets/webapi/errors.py (Diff revision 1)
     
     
    Show all issues
    Col: 23
     E225 missing whitespace around operator
    
  9. tests/runtests.py (Diff revision 1)
     
     
    Show all issues
     'contextlib' imported but unused
    
  10. 
      
chipx86
  1. 
      
  2. djblets/extensions/test/urls.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  3. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues

    """ on the next line.

  4. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  5. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  6. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  7. djblets/extensions/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  8. djblets/extensions/urls.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  9. djblets/feedview/test_urls.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  10. djblets/log/urls.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  11. djblets/testing/urls.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  12. djblets/urls/root.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  13. djblets/util/tests.py (Diff revision 1)
     
     
    Show all issues

    """ on the next line.

  14. djblets/util/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  15. djblets/util/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  16. djblets/util/tests.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  17. 
      
david
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/datagrid/grids.py
        djblets/extensions/urls.py
        djblets/extensions/packaging.py
        djblets/util/templatetags/djblets_images.py
        djblets/webapi/decorators.py
        djblets/util/templatetags/djblets_utils.py
        djblets/extensions/tests.py
        djblets/util/templatetags/djblets_email.py
        djblets/log/urls.py
        djblets/extensions/resources.py
        djblets/feedview/test_urls.py
        djblets/webapi/errors.py
        djblets/urls/decorators.py
        djblets/extensions/hooks.py
        djblets/siteconfig/django_settings.py
        djblets/util/tests.py
        djblets/testing/urls.py
        djblets/log/middleware.py
        djblets/auth/forms.py
        djblets/extensions/test/urls.py
        djblets/settings.py
        djblets/feedview/views.py
        djblets/util/decorators.py
        djblets/urls/root.py
        djblets/extensions/manager.py
        djblets/testing/testcases.py
        djblets/cache/backend.py
        djblets/log/views.py
        djblets/datagrid/tests.py
        djblets/util/http.py
        djblets/auth/util.py
        djblets/webapi/resources.py
        tests/runtests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/datagrid/grids.py
        djblets/extensions/urls.py
        djblets/extensions/packaging.py
        djblets/util/templatetags/djblets_images.py
        djblets/webapi/decorators.py
        djblets/util/templatetags/djblets_utils.py
        djblets/extensions/tests.py
        djblets/util/templatetags/djblets_email.py
        djblets/log/urls.py
        djblets/extensions/resources.py
        djblets/feedview/test_urls.py
        djblets/webapi/errors.py
        djblets/urls/decorators.py
        djblets/extensions/hooks.py
        djblets/siteconfig/django_settings.py
        djblets/util/tests.py
        djblets/testing/urls.py
        djblets/log/middleware.py
        djblets/auth/forms.py
        djblets/extensions/test/urls.py
        djblets/settings.py
        djblets/feedview/views.py
        djblets/util/decorators.py
        djblets/urls/root.py
        djblets/extensions/manager.py
        djblets/testing/testcases.py
        djblets/cache/backend.py
        djblets/log/views.py
        djblets/datagrid/tests.py
        djblets/util/http.py
        djblets/auth/util.py
        djblets/webapi/resources.py
        tests/runtests.py
    
    
  2. djblets/siteconfig/django_settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 23
     E241 multiple spaces after ':'
    
  3. djblets/siteconfig/django_settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 30
     E241 multiple spaces after ':'
    
  4. djblets/siteconfig/django_settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 22
     E241 multiple spaces after ':'
    
  5. djblets/siteconfig/django_settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 26
     E241 multiple spaces after ':'
    
  6. djblets/siteconfig/django_settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 23
     E241 multiple spaces after ':'
    
  7. djblets/siteconfig/django_settings.py (Diff revision 2)
     
     
    Show all issues
    Col: 21
     E241 multiple spaces after ':'
    
  8. tests/runtests.py (Diff revision 2)
     
     
    Show all issues
     'contextlib' imported but unused
    
  9. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.8.x (71d6a86)