mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2025-04-19 10:31:59 +03:00
Silence linter where imports needs to be below setup
This commit is contained in:
parent
3f90f9455d
commit
0505f63a9c
|
@ -14,7 +14,7 @@
|
|||
app = FastAPI()
|
||||
|
||||
|
||||
from akarpov.tools.shortener.tasks import save_view_meta
|
||||
from akarpov.tools.shortener.tasks import save_view_meta # noqa: This has to be imported strictly AFTER django setup
|
||||
|
||||
|
||||
@app.get("/{slug}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user