Skip to content

Commit

Permalink
Added pyflakes ignore for dummy import for messaging handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmcd committed Dec 3, 2011
1 parent 799ca6c commit 203b1df
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions mezzanine/utils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,25 @@

# Ignore these warnings in pyflakes - if added to, please comment why.
PYFLAKES_IGNORE = (
"import *' used", # Required by Django's urlconf API.
"'__version__' imported but unused", # Used to version subpackages.
"redefinition of unused 'Feed'", # Compatibility for Django 1.3/1.4
"redefinition of unused 'feed'", # Compatibility for Django 1.3/1.4
"redefinition of unused 'debug'", # Compatibility for Django <= 1.2
"redefinition of unused 'info'", # Compatibility for Django <= 1.2
"redefinition of unused 'success'", # Compatibility for Django <= 1.2
"redefinition of unused 'warning'", # Compatibility for Django <= 1.2
"redefinition of unused 'error'", # Compatibility for Django <= 1.2

# Required by Django's urlconf API.
"import *' used",

# Used to version subpackages.
"'__version__' imported but unused",

# Backward compatibility for feeds changed in Django 1.4
"redefinition of unused 'Feed'",
"redefinition of unused 'feed'",

# Backward compatibility for messaging changed in Django 1.2
"'debug' imported but unused",
"redefinition of unused 'debug'",
"redefinition of unused 'info'",
"redefinition of unused 'success'",
"redefinition of unused 'warning'",
"redefinition of unused 'error'",

)


Expand Down

0 comments on commit 203b1df

Please sign in to comment.