mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-26 15:42:30 +01:00
* remove unused and update black + precommit * makefile add ruff remove unused * F541 fix * complete ruff ignore * remove unused workflow and combine linters into one add lnbits/static to ruff ignore save preview and linelength for later define target version for black * ignore upgrades for mypy * remove flake8 * ignore F401 for __init__ files * unused pylint comment * unused noqa * ignore upgrades for black * run linting on py3.9 and py3.10 * dont assume python
15 lines
341 B
Python
15 lines
341 B
Python
from fastapi.routing import APIRouter
|
|
|
|
from lnbits.core.models import CoreAppExtra
|
|
from lnbits.db import Database
|
|
|
|
db = Database("database")
|
|
|
|
core_app: APIRouter = APIRouter()
|
|
|
|
core_app_extra: CoreAppExtra = CoreAppExtra()
|
|
|
|
from .views.admin_api import *
|
|
from .views.api import *
|
|
from .views.generic import *
|
|
from .views.public_api import *
|