mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
CodeQL flagged two test files of PR 2226 with Module is imported with import and import from (alerts on test_covered_rows_are_deployed.py:18 and test_reach.py:6): both import unittest and also import unittest.mock as mock, which CodeQL reads as a from-import. Both now import unittest.mock plainly and call unittest.mock.patch and unittest.mock.Mock, so the module is only ever imported with import. No behaviour change. Tests on the exported PR tree, isolated from other checkouts with python -P: both files plus the repository import lint, 22 passed; ruff check and format clean. 🎯 Fix: 92 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 91 🚦 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>