Files
fridge-tracker/pyproject.toml
2026-04-09 14:25:30 +01:00

51 lines
840 B
TOML

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fridge-tracker"
version = "0.1.0"
description = "Simple fridge tracking web app"
requires-python = ">=3.11"
dependencies = [ "flask>=3.0.0", "sqlalchemy>=2.0.0", "qrcode[pil]>=7.4.2", "gunicorn" ]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["ALL"]
ignore = [
# Conflicting
"D203",
"D212",
"COM812",
# Allow 'TODO' and 'HACK' in code
"FIX002",
"TD002",
"TD003",
"FIX004",
# Others I dont care about
"D"
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
strict = true
warn_unused_configs = true
warn_return_any = true
warn_unused_ignores = true
no_implicit_optional = true
show_error_codes = true
pretty = true
disable_error_code = [
"attr-defined"
]