Skip to content

ci: gate ruff check; apply its 7 auto-fixes (#2) - #22

Merged
4444J99 merged 1 commit into
mainfrom
ci/ruff-gate-2
Nov 28, 2026
Merged

4444J99 merged 1 commit into
mainfrom
ci/ruff-gate-2

Conversation

@4444J99

@4444J99 4444J99 commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Closes #2

What: this applies ruff's 7 auto-fixes (import order, sorted __all__, collections.abc.Sequence, Optional[X] → X | None, valid for py310) and adds a Lint step (python -m ruff check src tests) to ci-python.yml ahead of the tests. No logic change. __all__ keeps the same set of names; only the order changed.

Why: #2's plan lists two fixes before closing. The README result was fixed in #21. The other is that ruff check src tests is in the acceptance list but wasn't gated, so it had drifted to 7 errors.

Verification receipt (head d9e16c004c81258a3a276dca172d5327c2dd6dd8, uv venv with Python 3.12, ruff 0.17.6, env -u TERM):

  • ruff check src tests → All checks passed
  • python -m pytest -q → 31 passed
  • rules-system-bound --json → exit 0

This is a CI lint step, not a branch-protection change. Required checks are untouched.

Import sorting, sorted __all__, collections.abc.Sequence, X | None.
No behaviour change; 31 tests pass.
@sourcery-ai

sourcery-ai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Sorry @4444J99, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 3 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

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

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0c57cda6-8d4a-4e2b-afd1-c354fc4ffd5c
Commits

Reviewing files that changed from the base of the PR and between 2c6e2f9 and d9e16c0.

Files selected for processing: 6

  • .github/workflows/ci-python.yml
  • src/rules_system_bound/__init__.py
  • src/rules_system_bound/cli.py
  • src/rules_system_bound/container.py
  • tests/test_container_relationships.py
  • tests/test_core.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T23:37:30.246930Z d9e16c0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@4444J99
4444J99 merged commit db1b987 into main Nov 28, 2026
9 checks passed
@4444J99
4444J99 deleted the ci/ruff-gate-2 branch November 28, 2026 23:43
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.

ACTIVATION AUDIT: ship-soon

1 participant