Add 19 pytest tests covering the report, resource check, coin processing, refunds, change, profit, make_coffee and the main loop. Add a tests package and put the project root on the pytest path. Doxygen output is clean. The repository description and topics were set on the git host. Closes #13 Closes #14 Closes #15 Closes #16 Closes #17 Task: MIL-003#1 Task: MIL-003#2 Task: MIL-003#3 Task: MIL-003#4 Task: MIL-003#5
33 lines
658 B
TOML
33 lines
658 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "coffee-machine"
|
|
version = "0.1.0"
|
|
description = "Console coffee machine: Day 15 of Udemy's 100 Days of Code Python bootcamp."
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { file = "LICENSE" }
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "ruff", "mypy"]
|
|
|
|
[project.scripts]
|
|
coffee-machine = "coffee_machine.main:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src", "."]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
mypy_path = "src"
|