mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 06:17:25 +00:00
PR 2488 turned red in lint-python and CodeQL on two test changes. test_external_auth_matching.py built a jinja2.Environment without autoescape (ruff S701, CodeQL Jinja2 templating with autoescape=False); it now passes autoescape=jinja2.select_autoescape(), which leaves the env.j2 render unescaped because the template name has no html or xml extension. test_once_flag_before_post_load.py compared with assertTrue(a == b) (CodeQL imprecise assert); it now uses assertEqual, so a failure prints the findings. Negative control: ruff check of the committed Semaphore test reports S701 at line 24, the new file passes. Tests: KIX and Semaphore unit tests plus the once-flag, comment and import lints, 35 passed, 20 subtests. 🎯 Fix: 95 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 94 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>