Ignore linting long assertion lines.

This commit is contained in:
Andris Raugulis 2017-04-10 13:20:02 +03:00
parent 6c8173d409
commit 774d1c1fe4

View File

@ -133,7 +133,7 @@ max-public-methods = 20
max-bool-expr = 5
max-nested-blocks = 6
max-line-length = 80
ignore-long-lines = ^\s*(#\s+type:\s+.*|[A-Z0-9_]+\s+=\s+.*|('.*':\s+)?\[.*\],?)$
ignore-long-lines = ^\s*(#\s+type:\s+.*|[A-Z0-9_]+\s+=\s+.*|('.*':\s+)?\[.*\],?|assert\s+.*)$
max-module-lines = 2500
[flake8]