c03f17488c
CI / lint-and-test (push) Failing after 1m18s
Replace Syncthing as the product upload path with a share-target app and POST /api/jobs. Web UI live-polls job progress. Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
821 B
TOML
42 lines
821 B
TOML
[project]
|
|
name = "livef12rocks"
|
|
version = "0.1.0"
|
|
description = "Event photo pep pipeline: Android upload -> gmic/rembg -> web"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11,<3.12"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3,<9",
|
|
"httpx>=0.27,<0.29",
|
|
"ruff>=0.8,<0.10",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 120
|
|
src = ["app", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"SIM", # flake8-simplify
|
|
]
|
|
ignore = [
|
|
"B008", # FastAPI Depends/Form in defaults is intentional
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/**" = ["S101"] # assert in tests
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|