Normalize imports and remove Ruff-reported unused code and
redundant f-string prefixes across tracked scripts, extensions, and
tests.
Preserve the parse_html script-local import guard because it is
required when the script is loaded outside normal CLI execution. No
release metadata, skill instructions, or private-mirror files changed.
Verified:
- ruff check .: passed with 0 findings
- python3 -m pytest tests/ -q: 439 passed
- python3 scripts/portability_check.py --strict: 0 errors, 0 warnings
- python3 scripts/consistency_check.py --strict: passed, 380 files
- python3 -m compileall -q scripts hooks tests extensions: passed
- pip-audit -r requirements.txt: no known vulnerabilities
- plugin JSON parsing with jq: passed
- staged diff and added-line em dash scans: passed
Known remaining issues: no live API integration run, because
credentials and external service behavior are outside this mechanical
lint cleanup.
Co-Authored-By: GPT-5 <noreply@openai.com>