Files
pkgmgr/tests/unit
Kevin Veen-BirkenbachandClaude Opus 5.5 52f0d804f6 fix(codeql): clear quality, Codacy and CodeRabbit findings of PR 22
quality clean.clones in test_editor.py: one _edit helper returns what the editor was handed and the kept entry; _buffer reuses it. Codacy D205/D415 vs quality clean.comment on secret_service_token: its only caller is _forge_access, so it becomes private _secret_service_token without a docstring, as in PR 14. CodeRabbit: select_autoescape matches the full suffix and the renderer passes names ending in .j2, so html.j2, htm.j2 and xml.j2 are enabled; new test renders them escaped and README.md.j2 raw.

| 🌿 Branch | 📊 Diff stat | 🎯 Fix | 💥 Break | 💸 Tokens | ⏱️ Velocity | 🛡️ Security | 🏆 Score | Gate |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| fix/codeql-alerts | 4 files +58/-27 | 93 % | 2 % | – | – | 100 % | 91 | ✅ 90/5, tokens and velocity <= 100, security 100 % |

Evidence: tests/unit + tests/integration with PYTHONPATH=src 881 passed; 2 known gpg-in-sandbox failures in test_publish_integration. quality check --staged 0 findings, ruff clean, MEDUSA 100 %, critical 0. Hub review 41be5d7a0b4eec30.

Refs https://github.com/kevinveenbirkenbach/package-manager/pull/22

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:57:30 +00:00
..