Go to file
iGor milhit 67213da237
config: implement a configuration mechanism
- Implements a configuration mechanism.
- Tests the configuration mechanism.
- Improves the tests structure.
- Configures the tests.
- Configures the ruff checker.
- Fixes lint errors.
- Documents how to test or to lint and very minimally or to set a
  development environment.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-01-08 18:28:02 +01:00
tests config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
web config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
.gitignore config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
.python-version project: initial commit 2025-12-29 21:21:37 +01:00
README.md config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
calculator.py config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
config.py config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
main.py config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
pyproject.toml config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00
uv.lock config: implement a configuration mechanism 2026-01-08 18:28:02 +01:00

README.md

title subtitle date id tags
Dough Calc A tiny utility to calculate the proportions of flour, water, sourdough and salt for your dough. 2025-12-29T09:10:27+0100 20251229091027
python
calculator
bread
dough
sourdough

Dough Calc

Dough Calc is a tiny utility to calculate the proportions of flour, water, sourdough and salt for your dough, depending on the main flour quantity, the main proportion of water you're aiming for, and the proportion of water of your sourdough.

Development

To start a dev environment:

git clone https://git.milhit.ch/igor/dough-calc.git
cd dough-calc
uv sync
cd web
npm install

Tests

To run the tests:

uv run pytest

Linting

To run linting checks:

uv run ruff check --fix