Skip to content

fix: satisfy mypy strict Literal status and requests stubs - #32

Merged
3ssiri merged 1 commit into
mainfrom
claude/interesting-khorana-8ea89d
Aug 7, 2026
Merged

fix: satisfy mypy strict Literal status and requests stubs#32
3ssiri merged 1 commit into
mainfrom
claude/interesting-khorana-8ea89d

Conversation

@3ssiri

@3ssiri 3ssiri commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Annotate the local status variables in the actions, package, and structure checks as Literal["pass", "warn", "fail"] instead of plain str, fixing 3 mypy arg-type errors against CheckResult.
  • Add types-requests to the dev dependencies so the requests import in github_client.py type-checks (4th mypy error).
  • No behavior change; mypy repopulse is now clean.

Verification

  • mypy repopulse — no issues in 26 source files
  • pytest — 121 passed
  • ruff check . — all checks passed

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@3ssiri
3ssiri force-pushed the claude/interesting-khorana-8ea89d branch from fa3f1ad to 54495ae Compare August 7, 2026 18:42
Annotate the local status variables in actions, package, and structure
checks as Literal["pass", "warn", "fail"] instead of plain str, and add
types-requests to dev dependencies so github_client's requests import
type-checks. mypy is now clean; no behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@3ssiri
3ssiri merged commit 798a410 into main Aug 7, 2026
4 checks passed
@3ssiri
3ssiri deleted the claude/interesting-khorana-8ea89d branch August 7, 2026 18:46
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