Adds pyproject.toml, .gitignore, constants.py, the layer packages, a smoke test, the Doxyfile and the README with venv, run and test instructions. Task: MIL-001#1 Task: MIL-001#2 Task: MIL-001#3 Task: MIL-001#4 Task: MIL-001#5 Task: MIL-001#6
43 lines
768 B
TOML
43 lines
768 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "higher-lower"
|
|
version = "0.1.0"
|
|
description = "Day 55 of Udemy's 100 Days of Code: a Higher or Lower guessing game as a Flask website."
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { file = "LICENSE" }
|
|
dependencies = [
|
|
"flask>=3.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=8.0",
|
|
]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"ruff>=0.6",
|
|
"mypy>=1.10",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP", "N"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
files = ["src", "tests"]
|