Skip to content

Clear all 4 mypy errors in dev_agent_firewall.py (#432 session 13) - #460

Merged
squid-protocol merged 1 commit into
mainfrom
fix/432-dev-agent-firewall-typing
Jul 25, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/432-dev-agent-firewall-typing

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Session 13 of the mypy cleanup epic (#432).

guardrails in evaluate_ecosystem() mixed bool and List[str] values in its dict literal, so mypy widened it to Dict[str, object] -- .append() on the "warnings" list then failed. Same shape of fix as prior sessions: a Dict[str, Any] annotation at the accumulator's declaration.

Baseline: 35 -> 31 unique entries.

Test plan

  • mypy gitgalaxy/ --ignore-missing-imports (fresh .mypy_cache) in the CI-matching minimal venv: all 4 errors resolved, no fan-out regressions elsewhere
  • python tests/mypy_audit.py --ci: passes against the regenerated 31-entry baseline
  • flake8 . --count --select=E9,F63,F7,F82: 0
  • python tests/dead_key_audit.py --ci: no new findings
  • Full pytest tests/ -q in the full-precision venv: run in progress, will confirm green before merge

🤖 Generated with Claude Code

guardrails (evaluate_ecosystem) mixed bool and List[str] values in
its dict literal, so mypy widened it to Dict[str, object] --
.append() on the "warnings" list then failed. Same shape of fix as
prior sessions: Dict[str, Any] annotation at the accumulator's
declaration.

Baseline: 35 -> 31 unique entries.
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 5478bde into main Jul 25, 2026
26 checks passed
@squid-protocol
squid-protocol deleted the fix/432-dev-agent-firewall-typing branch July 25, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant