add linting stubs with flake8-pyi and check for unused imports (#186)

This commit is contained in:
Maxim Kurnikov
2019-09-25 02:20:23 +03:00
committed by GitHub
parent 7407b93151
commit 963d50c717
91 changed files with 139 additions and 176 deletions

12
flake8-pyi.ini Normal file
View File

@@ -0,0 +1,12 @@
[flake8]
filename =
*.pyi
exclude =
django-sources
test-data
mypy_django_plugin
scripts
select = F401, Y
max_line_length = 120
per-file-ignores =
*__init__.pyi: F401