mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
flake8: ignore certain errors for .pyi files (#159)
This commit is contained in:
committed by
Nikita Sobolev
parent
4a4dc53c4d
commit
5b9a467cf0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user