Permalink
Browse files

Exclude migrations from pyflakes, landscape

  • Loading branch information...
1 parent 1d5c143 commit 8384c4ae358e34aec73e3797068df35af197101e @mkoistinen mkoistinen committed Apr 15, 2015
Showing with 5 additions and 2 deletions.
  1. +3 −1 .landscape.yaml
  2. +2 −1 cms/test_utils/util/static_analysis.py
View
@@ -8,6 +8,8 @@ autodetect: yes
ignore-paths:
- docs
- cms/migrations
+ - cms/migrations_django
- cms/tests/*
- cms/test_utils/*
- - menus/migrations/*
+ - menus/migrations/*
+ - menus/migrations_django/*
@@ -15,7 +15,8 @@ def _pyflakes_report_with_nopyflakes(self, messageClass, node, *args, **kwargs):
def _pyflakes_no_migrations(self, tree, filename='(none)', builtins=None):
if os.path.basename(os.path.dirname(filename)) in ('migrations',
- 'south_migrations'):
+ 'south_migrations',
+ 'migrations_django'):
self.messages = []
else:
Checker.___init___(self, tree, filename, builtins)

0 comments on commit 8384c4a

Please sign in to comment.