Compare commits
9 Commits
df0b19d943
...
d96fec0222
| Author | SHA1 | Date | |
|---|---|---|---|
|
d96fec0222
|
|||
|
6bbb152ae1
|
|||
|
b14541ea83
|
|||
|
7d36e6e431
|
|||
|
98c49b1d0d
|
|||
|
377a846c59
|
|||
|
a27b5b1275
|
|||
|
19aa80a08e
|
|||
|
a1b28faa9f
|
@@ -19,6 +19,9 @@ license = { text = "GPL-3.0+" }
|
||||
|
||||
[dependency-groups]
|
||||
bump = ["git-cliff>=2.9.1", "python-semantic-release>=10.2.0"]
|
||||
lint = [
|
||||
"isort>=6.0.1",
|
||||
]
|
||||
test = [
|
||||
"pytest>=4.2.1",
|
||||
"pytest-cov>=6.2.1",
|
||||
|
||||
@@ -4,8 +4,8 @@ import logging as lg
|
||||
|
||||
if __name__ == "__main__":
|
||||
from judas_server.backend import BackendServer
|
||||
from judas_server.web.web_server import JudasWebServer
|
||||
from judas_server.gaga import LADY_GAGA
|
||||
from judas_server.web.web_server import JudasWebServer
|
||||
|
||||
lg.basicConfig(
|
||||
level=lg.DEBUG,
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import logging as lg
|
||||
import threading
|
||||
import time
|
||||
import selectors
|
||||
import socket
|
||||
import threading
|
||||
import time
|
||||
|
||||
from judas_protocol import Message
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ from __future__ import annotations
|
||||
|
||||
import logging as lg
|
||||
import socket
|
||||
|
||||
from enum import Enum
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import annotations
|
||||
|
||||
import threading
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import flask
|
||||
import flask_login
|
||||
import threading
|
||||
import logging as lg
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from werkzeug.wrappers import Response
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import flask
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import flask
|
||||
import flask_login
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from werkzeug.wrappers import Response
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ from __future__ import annotations
|
||||
import flask
|
||||
import flask_login
|
||||
|
||||
|
||||
panel_bp: flask.Blueprint = flask.Blueprint(
|
||||
"panel", __name__, url_prefix="/panel"
|
||||
)
|
||||
|
||||
@@ -53,12 +53,7 @@ class JudasWebServer:
|
||||
|
||||
def init_routes(self) -> None:
|
||||
self.logger.debug("Initializing routes...")
|
||||
from judas_server.web.routes import (
|
||||
auth_bp,
|
||||
index_bp,
|
||||
panel_bp,
|
||||
api,
|
||||
)
|
||||
from judas_server.web.routes import api, auth_bp, index_bp, panel_bp
|
||||
|
||||
self.app.register_blueprint(index_bp)
|
||||
self.app.register_blueprint(auth_bp)
|
||||
|
||||
13
uv.lock
generated
13
uv.lock
generated
@@ -287,6 +287,15 @@ wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "isort"
|
||||
version = "6.0.1"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/b8/21/1e2a441f74a653a144224d7d21afe8f4169e6c7c20bb13aec3a2dc3815e0/isort-6.0.1.tar.gz", hash = "sha256:1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450", size = 821955, upload-time = "2025-02-26T21:13:16.955Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/c1/11/114d0a5f4dabbdcedc1125dee0888514c3c3b16d3e9facad87ed96fad97c/isort-6.0.1-py3-none-any.whl", hash = "sha256:2dc5d7f65c9678d94c88dfc29161a320eec67328bc97aad576874cb4be1e9615", size = 94186, upload-time = "2025-02-26T21:13:14.911Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "itsdangerous"
|
||||
version = "2.2.0"
|
||||
@@ -329,6 +338,9 @@ bump = [
|
||||
{ name = "git-cliff" },
|
||||
{ name = "python-semantic-release" },
|
||||
]
|
||||
lint = [
|
||||
{ name = "isort" },
|
||||
]
|
||||
test = [
|
||||
{ name = "pytest" },
|
||||
{ name = "pytest-cov" },
|
||||
@@ -349,6 +361,7 @@ bump = [
|
||||
{ name = "git-cliff", specifier = ">=2.9.1" },
|
||||
{ name = "python-semantic-release", specifier = ">=10.2.0" },
|
||||
]
|
||||
lint = [{ name = "isort", specifier = ">=6.0.1" }]
|
||||
test = [
|
||||
{ name = "pytest", specifier = ">=4.2.1" },
|
||||
{ name = "pytest-cov", specifier = ">=6.2.1" },
|
||||
|
||||
Reference in New Issue
Block a user