Skip to content

fix: green CI — mypy python_version + sync forecasts/drilling annotations - #31

Merged
karlwaldman merged 1 commit into
mainfrom
fix/ci-mypy-green
Jun 21, 2026
Merged

fix: green CI — mypy python_version + sync forecasts/drilling annotations#31
karlwaldman merged 1 commit into
mainfrom
fix/ci-mypy-green

Conversation

@karlwaldman

Copy link
Copy Markdown
Member

Fixes test.yml red since March. Two root causes: (1) [tool.mypy] python_version was 3.8 which mypy 2.x rejects — set to 3.10 and pinned mypy<3 defensively; (2) sync forecasts.py/drilling.py returned un-annotated Any — added return-type annotations matching the async versions. Verified green: mypy oilpriceapi/ --ignore-missing-imports = Success (0 issues), ruff clean, pytest 227 passed / 52.77% cov.

🤖 Generated with Claude Code

…ions

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@karlwaldman, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 58 minutes and 58 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9510a801-cc5c-46d1-9874-f873e2297318

📥 Commits

Reviewing files that changed from the base of the PR and between dbe8389 and 9f7e922.

📒 Files selected for processing (3)
  • oilpriceapi/resources/drilling.py
  • oilpriceapi/resources/forecasts.py
  • pyproject.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-mypy-green

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@karlwaldman
karlwaldman merged commit fbcd18c into main Jun 21, 2026
5 checks passed
@karlwaldman
karlwaldman deleted the fix/ci-mypy-green branch June 21, 2026 14:52
karlwaldman added a commit that referenced this pull request Jul 3, 2026
…ions (#31)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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