MIL-001: project foundation

pyproject.toml (Python >=3.13, no runtime dependencies, speech and dev extras),
Python .gitignore, layer skeleton with constants.py, Doxyfile, README with the
.venv instructions, the Malay to Danish word list and review record RC-023.

Task: MIL-001#1
Task: MIL-001#2
Task: MIL-001#3
Task: MIL-001#4
Task: MIL-001#5
Task: MIL-001#6
This commit is contained in:
2026-10-14 21:39:14 +08:00
parent 934d7e4902
commit cc24b7d890
22 changed files with 1592 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
"""Entry point of the flash card program.
@file app.py
@brief Starts the program; the window arrives in MIL-002.
"""
from collections.abc import Sequence
from typing import NoReturn
def main(argv: Sequence[str] | None = None) -> int:
"""Run the program and return its exit code.
The window arrives in MIL-002; for now nothing happens.
@param argv Command line arguments, or None for none.
@return The exit code, 0 on success.
"""
return 0
def run() -> NoReturn:
"""Run the program and exit the interpreter with its exit code.
@return Never returns; the function always raises SystemExit.
@throws SystemExit Always, with the exit code of main.
"""
raise SystemExit(main())