mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-06 12:14:28 +08:00
add linting stubs with flake8-pyi and check for unused imports (#186)
This commit is contained in:
@@ -14,14 +14,6 @@ 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