Permalink
Browse files

Added pyflakes ignore for dummy import for messaging handling.

  • Loading branch information...
stephenmcd committed Dec 3, 2011
1 parent 799ca6c commit 203b1dffabbcfeb6b7114f8011b4ac4c807b9a48
Showing with 19 additions and 9 deletions.
  1. +19 −9 mezzanine/utils/tests.py
View
@@ -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'",
+
)

0 comments on commit 203b1df

Please sign in to comment.