Exclude vendored code from style checks

This commit is contained in:
Raphael Michel
2015-03-22 00:09:50 +01:00
parent e774c7b7d5
commit 278a680d7c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[run] [run]
source = pretix source = pretix
omit = */migrations/*,*/urls.py,*/tests/*,*/testdummy/*,*/admin.py omit = */migrations/*,*/urls.py,*/tests/*,*/testdummy/*,*/admin.py,*/mt940.py
[report] [report]
exclude_lines = exclude_lines =

View File

@@ -1,5 +1,5 @@
[flake8] [flake8]
ignore = N802,W503 ignore = N802,W503
max-line-length = 160 max-line-length = 160
exclude = migrations,.ropeproject,static exclude = migrations,.ropeproject,static,mt940.py
max-complexity = 12 max-complexity = 12