Skip to content

fix(SOLSYS): fix Ruff CI format fail + CodeQL bpy alerts - #39

Merged
ThomasAFink merged 1 commit into
mainfrom
fix/ci-ruff-format-and-codeql-bpy
Aug 7, 2026
Merged

fix(SOLSYS): fix Ruff CI format fail + CodeQL bpy alerts#39
ThomasAFink merged 1 commit into
mainfrom
fix/ci-ruff-format-and-codeql-bpy

Conversation

@ThomasAFink

@ThomasAFink ThomasAFink commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Root cause of failed ✨ Ruff on main: CI installs Ruff 0.16.1 (requirements-dev.txt) while local/pre-commit was still 0.14.14, so format disagreed on star_catalog.py.
  • Reformat star_catalog.py under 0.16.1 and bump .pre-commit-config.yaml to v0.16.1.
  • Also clear the two open code scanning py/unused-import alerts on unused bpy imports (load_body.py, render_flyby.py) via importlib.util.find_spec.

Test plan

  • Local ruff==0.16.1: ruff check + ruff format --check on animate static solsys render.py
  • Confirm ✨ Ruff is green on this PR
  • After merge, confirm CodeQL alerts close

Please review before merge — will not merge until you say so.

Reformat star_catalog for CI Ruff 0.16.1, bump pre-commit ruff pin to
match requirements-dev, and detect Blender via importlib.find_spec.
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ThomasAFink, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

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 reviews.

How do review limits work?

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

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, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 37424045-a895-4fcd-844a-80a8f73bb8cc

📥 Commits

Reviewing files that changed from the base of the PR and between 496151f and 5512662.

📒 Files selected for processing (4)
  • .pre-commit-config.yaml
  • animate/scenes/blender/load_body.py
  • animate/scenes/blender/render_flyby.py
  • solsys/physics/catalogs/star_catalog.py

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.

@ThomasAFink
ThomasAFink merged commit 477e323 into main Aug 7, 2026
5 checks passed
@ThomasAFink
ThomasAFink deleted the fix/ci-ruff-format-and-codeql-bpy branch August 7, 2026 21:39
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