47 lines
869 B
TOML
47 lines
869 B
TOML
[project]
|
|
name = "dough-calc"
|
|
version = "0.1.0"
|
|
description = """Tiny utility to calculate proportion of flour, sourdough,
|
|
water and salt for a given dough."""
|
|
authors = [
|
|
{name = "iGor milhit", email = "igor@milhit.ch" },
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"fastapi[standard]>=0.128.0",
|
|
"httpx>=0.28.1",
|
|
"pydantic-settings>=2.12.0",
|
|
"pytest>=9.0.2",
|
|
"pytest-cov>=7.0.0",
|
|
"ruff>=0.14.10",
|
|
"uvicorn>=0.40.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
addopts = [
|
|
"--cov=.",
|
|
"--cov-report=term-missing",
|
|
"--cov-fail-under=80",
|
|
"--verbose",
|
|
"--strict-markers",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
# Pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
"UP",
|
|
# flake8-bugbear
|
|
"B",
|
|
# flake8-simplify
|
|
"SIM",
|
|
# isort
|
|
"I",
|
|
]
|