Frontend created and rewritten a few times, with some backend fixes #1
|
@ -1,14 +1,13 @@
|
|||
from functools import wraps
|
||||
|
||||
import msgspec
|
||||
from cista import auth
|
||||
from cista.protocol import ErrorMsg
|
||||
from sanic import errorpages
|
||||
from sanic.exceptions import SanicException
|
||||
from sanic.log import logger
|
||||
from sanic.response import raw, redirect
|
||||
|
||||
from cista import auth
|
||||
from cista.protocol import ErrorMsg
|
||||
|
||||
|
||||
def asend(ws, msg):
|
||||
"""Send JSON message or bytes to a websocket"""
|
||||
|
|
|
@ -23,6 +23,7 @@ dependencies = [
|
|||
"sanic",
|
||||
"tomli_w",
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
|
||||
[project.urls]
|
||||
Homepage = ""
|
||||
|
@ -63,7 +64,10 @@ testpaths = [
|
|||
"tests",
|
||||
]
|
||||
|
||||
[tool.isort]
|
||||
#src_paths = ["cista", "tests"]
|
||||
line_length = 120
|
||||
multi_line_output = 5
|
||||
[tool.ruff]
|
||||
extend-select = ["I", "UP"]
|
||||
src = ["cista", "tests"]
|
||||
show-fixes = true
|
||||
show-source = true
|
||||
format.preview = true
|
||||
format.line-ending = "lf"
|
||||
|
|
|
@ -2,7 +2,6 @@ import tempfile
|
|||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from cista import config
|
||||
from cista.protocol import Cp, MkDir, Mv, Rename, Rm
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user