start webui
This commit is contained in:
parent
40da4384b2
commit
4b376c54a2
7 changed files with 678 additions and 206 deletions
|
|
@ -14,6 +14,13 @@ dependencies = [
|
|||
"lxml>=5.2.1,<6.0.0",
|
||||
"pillow>=10.3.0,<11.0.0",
|
||||
"ffmpeg-python>=0.2.0,<0.3.0",
|
||||
"Quart>=0.20.0,<0.21.0",
|
||||
"apscheduler>=3.11.0,<4.0.0",
|
||||
"aiosqlite>=0.21.0,<0.22.0",
|
||||
"datastar-py>=0.8.0,<0.9.0",
|
||||
"greenlet>=3.2.4,<4.0.0",
|
||||
"peewee>=3.19.0,<4.0.0",
|
||||
"pygea @ git+https://guardianproject.dev/anynews/pygea.git",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
|
@ -24,8 +31,8 @@ dev = [
|
|||
"pytest>=8.1.1,<9.0.0",
|
||||
"black>=24.4.0,<25.0.0",
|
||||
"flake8>=7.0.0,<8.0.0",
|
||||
"mypy>=1.9.0,<2.0.0",
|
||||
"bandit>=1.7.8,<2.0.0",
|
||||
"pyright>=1.1.403,<2.0.0",
|
||||
"types-PyYAML>=6.0.12.20240311,<7.0.0",
|
||||
"isort>=5.13.2,<6.0.0",
|
||||
"flake8-black>=0.3.6,<0.4.0",
|
||||
|
|
@ -53,18 +60,37 @@ src_paths = ["repub", "tests"]
|
|||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py313']
|
||||
[tool.pylint.format]
|
||||
max-line-length = "88"
|
||||
|
||||
[tool.mypy]
|
||||
files = "repub,tests"
|
||||
ignore_missing_imports = true
|
||||
follow_imports = "normal"
|
||||
disallow_untyped_calls = true
|
||||
disallow_any_generics = true
|
||||
disallow_subclassing_any = true
|
||||
warn_return_any = true
|
||||
warn_redundant_casts = true
|
||||
warn_unused_ignores = true
|
||||
warn_unused_configs = true
|
||||
warn_unreachable = true
|
||||
show_error_codes = true
|
||||
no_implicit_optional = true
|
||||
[tool.pyright]
|
||||
include = ["repub", "tests"]
|
||||
pythonVersion = "3.13"
|
||||
typeCheckingMode = "basic"
|
||||
reportMissingImports = false
|
||||
|
||||
[tool.flake8]
|
||||
ignore = [
|
||||
"D100",
|
||||
"D101",
|
||||
"D102",
|
||||
"D104",
|
||||
"D107",
|
||||
]
|
||||
exclude = [
|
||||
".git",
|
||||
"__pycache__",
|
||||
"docs/source/conf.py",
|
||||
"build",
|
||||
"dist",
|
||||
"data/db/",
|
||||
"kealytics/tests/",
|
||||
"*.pyc",
|
||||
"*.egg-info",
|
||||
".cache",
|
||||
".eggs",
|
||||
]
|
||||
max-complexity = 10
|
||||
import-order-style = "cryptography"
|
||||
application-import-names = ["repub"]
|
||||
format = "${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue