47 lines
1.0 KiB
TOML
47 lines
1.0 KiB
TOML
[build-system]
|
|||
|
|
requires = ["setuptools>=75", "wheel"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "volumen"
|
||
|
|
version = "0.4.0"
|
||
|
|
description = "A small, file-based Markdown blog engine with a built-in admin."
|
||
|
|
requires-python = ">=3.12"
|
||
|
|
license = {text = "MIT"}
|
||
|
|
authors = [{name = "Petr Balvín", email = "petrbalvin@yandex.com"}]
|
||
|
|
dependencies = [
|
||
|
|
"fastapi[standard]>=0.115",
|
||
|
|
"itsdangerous>=2.2",
|
||
|
|
"jinja2>=3.1",
|
||
|
|
"markdown>=3.7",
|
||
|
|
"pymdown-extensions>=10.14",
|
||
|
|
"tomli-w>=1.2",
|
||
|
|
"python-multipart>=0.0.20",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
volumen = "volumen.cli:main"
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
dev = ["pytest>=8", "httpx>=0.28", "ruff>=0.9"]
|
||
|
|
|
||
|
|
[tool.setuptools.packages.find]
|
||
|
|
where = ["src"]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
indent-width = 4
|
||
|
|
|
||
|
|
[tool.ruff.format]
|
||
|
|
quote-style = "double"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "C4"]
|
||
|
|
|
||
|
|
[tool.ruff.lint.per-file-ignores]
|
||
|
|
"src/volumen/admin_routes.py" = ["B008"]
|
||
|
|
"src/volumen/api_routes.py" = ["B008"]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|