40 lines
803 B
TOML
40 lines
803 B
TOML
[project]
|
|
name = "backend"
|
|
version = "0.1.0"
|
|
description = "Backend for beavergram"
|
|
authors = [
|
|
{ name = "h", email = "h@kotikot.com" }
|
|
]
|
|
requires-python = ">=3.13"
|
|
dependencies = []
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.11.14,<0.12.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.uv.build-backend]
|
|
module-name = ["app"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["ALL"]
|
|
ignore = ["CPY", "D1", "D203", "D212", "COM812", "BLE", "S101", "PT", "RUF001", "RUF002", "RUF003", "TRY301"]
|
|
unfixable = ["F401"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"scripts/*" = ["INP"]
|
|
"t/*" = ["ALL"]
|
|
"*.lock" = ["ALL"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|
|
|
|
[tool.ruff.format]
|
|
docstring-code-format = true
|
|
skip-magic-trailing-comma = true
|
|
|
|
[tool.ruff.lint.isort]
|
|
split-on-trailing-comma = false
|