Files
bindery/pyproject.toml
tim ee59917257 Set up the Python project
Apache-2.0, the same license as FanFicFare. uv manages the dependencies,
and ruff and pytest run from pyproject.toml.
2026-09-26 14:40:15 +02:00

45 lines
856 B
TOML

[project]
name = "cwa-bindery"
version = "0.1.0"
description = "CWA Bindery - keeps web fiction in Calibre-Web-Automated up to date with FanFicFare"
license = "Apache-2.0"
requires-python = ">=3.12"
dependencies = [
"flask",
"gunicorn",
"fanficfare[image-processing]>=4.61.0",
"beautifulsoup4",
"html5lib",
"requests",
"defusedxml",
"regex",
]
[dependency-groups]
dev = [
"pytest",
"ruff",
]
[tool.uv]
package = false
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = [".", "tests"]
addopts = ["--tb=short"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "S"]
ignore = [
"S104", # the container binds to all interfaces
"S108", # the default TMP_DIR is a container path
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S"]