mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +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
|
django-stubs
|
||||||
test-data
|
test-data
|
||||||
max_line_length = 120
|
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]
|
[metadata]
|
||||||
license_file = LICENSE.txt
|
license_file = LICENSE.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user