Set up project skeleton and tooling for MIL-001
Add pyproject.toml (Python >=3.13, no runtime dependencies, pytest, ruff and mypy as dev extras), a Doxyfile that scans src/, the src/coffee_machine package with stub constants and main modules, and a pytest smoke test. Ignore Doxygen output in .gitignore. Closes #1 Closes #2 Closes #3 Closes #4 Refs #5 Task: MIL-001#1 Task: MIL-001#2 Task: MIL-001#3 Task: MIL-001#4
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user