Apply isort & flake8 (#312)

* Update isort settings
* Apply import sorting (isort) on all files in nyaa/
* Fixed Flake8 errors in nyaa/ (see PR for list)
* Add isort to lint.sh and requirements.txt
This commit is contained in:
Kfir Hadas
2017-07-28 20:01:19 +03:00
committed by GitHub
parent 99c052c85f
commit b992467dad
13 changed files with 82 additions and 82 deletions

View File

@@ -1,6 +1,12 @@
[isort]
line_length = 100
not_skip = __init__.py
default_section = THIRDPARTY
known_first_party = nyaa
known_flask = flask, flask_wtf, flask_paginate, jinja2, werkzeug
known_flask =
flask*,
jinja2,
markupsafe,
werkzeug,
wtforms
sections = STDLIB,FLASK,THIRDPARTY,FIRSTPARTY,LOCALFOLDER