mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/general: embrace most of PEP8
Ignored only the rules about continuing / hanging indentation. Also, added __init__.py to tests so that pylint discovers them. (I don't buy pytest's BS about installing your package.)
This commit is contained in:
@ -2,8 +2,9 @@ from szurubooru import search
|
||||
from szurubooru.func import auth, snapshots
|
||||
from szurubooru.rest import routes
|
||||
|
||||
_search_executor = search.Executor(
|
||||
search.configs.SnapshotSearchConfig())
|
||||
|
||||
_search_executor = search.Executor(search.configs.SnapshotSearchConfig())
|
||||
|
||||
|
||||
@routes.get('/snapshots/?')
|
||||
def get_snapshots(ctx, _params=None):
|
||||
|
Reference in New Issue
Block a user