From 85f1ecabd7f58f306b2a042376209ac8cf49ab9b Mon Sep 17 00:00:00 2001 From: cirakg Date: Sun, 18 Oct 2026 21:10:37 +0200 Subject: build: complete the Docker pipeline for build, test, screenshots and packaging - Container scripts now run from the mounted project (no image rebuild per script change): build-app.sh (strict -l 3, warnings fail), run-unit-tests.sh, screenshots.sh, app-diag.sh (perf/memory), lint.sh, package.sh and sim-vnc.sh (noVNC on 127.0.0.1:6080). - Headless simulator helpers: wait for port 1234, remove the stale single-instance lock (~/Sim-dev) that made later starts hang, show the simulator log on failure. - New targets: screenshots-approve, icons; `make lock` re-adds the requirements header; pytest treats warnings as errors. - Author/Summary headers on every build file. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index c92bed4..ba959eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ +# Author: cirakg & claude ai +# Summary: Settings for pytest, ruff and mypy, which check the Python tools in tools/. +# # Configuration for the Python tools in tools/ (they run inside the dev image). # This is not a Python package; the file only configures pytest, ruff and mypy. # Caches go to build/ so the source tree stays clean. @@ -6,6 +9,8 @@ testpaths = ["tools/tests"] cache_dir = "build/.pytest_cache" addopts = "-p no:cacheprovider" +# Warnings are errors here too (README section 17.7). +filterwarnings = ["error"] [tool.ruff] line-length = 120 -- cgit v1.2.3