mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +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,16 +1,14 @@
|
||||
import flask
|
||||
from nyaa import app, db
|
||||
from nyaa import models, forms
|
||||
from nyaa import bencode, utils
|
||||
|
||||
import os
|
||||
|
||||
import json
|
||||
from werkzeug import secure_filename
|
||||
from collections import OrderedDict
|
||||
from orderedset import OrderedSet
|
||||
import os
|
||||
from ipaddress import ip_address
|
||||
|
||||
import flask
|
||||
from werkzeug import secure_filename
|
||||
|
||||
from orderedset import OrderedSet
|
||||
|
||||
from nyaa import app, db, models, utils
|
||||
|
||||
|
||||
@utils.cached_function
|
||||
def get_category_id_map():
|
||||
|
||||
Reference in New Issue
Block a user