Files
computer-playbook/tests/unit/python/roles/sys-front-inj-design
kevinveenbirkenbachandClaude Opus 5 7bfbf20791 fix(tests): clear four lint rules the last commits left red
The design and docs commits landed with --no-verify, so the hook that
runs make test never saw them and four repository lints went red on
code that was already pushed.

test_init_files wants an __init__.py in every python tree under tests/;
the sys-front-inj-design directory arrived without one.

ruff S701 rejects Environment(autoescape=False). Both call sites render
from a string, where select_autoescape(default_for_string=False)
returns the same False, so what the test exercises is unchanged and the
explicit escape filter keeps doing its own work.

test_no_env_defaults_in_javascript rejects a default for an environment
value in JavaScript, because it is a second source that hides an unfed
variable. Normalising to the empty string stays allowed and keeps the
expression's result identical for every input.

The env-file schema caps a comment at 140 characters.

The two lint/filesystem files carry nothing but the autoformat reflow.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-19 01:05:30 +02:00
..