mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 16:29:04 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user