flake8: ignore certain errors for .pyi files (#159)

This commit is contained in:
Daniel Hahler
2019-09-14 09:52:52 +02:00
committed by Nikita Sobolev
parent 4a4dc53c4d
commit 5b9a467cf0

View File

@@ -13,6 +13,14 @@ exclude =
django-stubs
test-data
max_line_length = 120
per-file-ignores =
# E301: expected 1 blank line
# E302: expected 2 blank lines
# E305: expected 2 blank lines after class or function definition
# E701: multiple statements on one line (colon)
# E743: ambiguous function definition 'X'
# F821: undefined name 'X'
*.pyi: E301, E302, E305, E701, E743, F821
[metadata]
license_file = LICENSE.txt