mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-14 06:37:25 +00:00
Env handlers feed the .env generation, which bootstraps fresh hosts before PyYAML is initialised, so the YAML cache is unavailable at that point. The guard fails on any utils.cache.yaml use under utils/env/handlers/ and points to utils.cache.files.read_text with a stdlib line parse (canonical pattern: utils/storage/nfs.py); per-line nocheck suppression stays possible. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Python Lint 🐍
Python-specific code conventions: unittest import shape, PROJECT_ROOT usage, ban on raw os.walk/Path.rglob/uncached read_text, noqa marker hygiene, redundant boolean patterns, and self-path-reference avoidance.
Tests in this directory MUST only cover Python source patterns. Dependency declarations MUST live under dependencies/; YAML/Jinja patterns MUST live under yaml/.
For framework and make test-lint usage see lint.md.