Skip to content

Fix #133 - #155

Closed
mercael91 wants to merge 1 commit into
abhiksark:devfrom
mercael91:fix/issue-133
Closed

mercael91 wants to merge 1 commit into
abhiksark:devfrom
mercael91:fix/issue-133

Conversation

@mercael91

@mercael91 mercael91 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Implements the policy proposed in #133, scoped to what it asks for:

  • [tool.ruff.lint.per-file-ignores] with "checks/**/*.py" = ["F821"] — those undefined names come from the learner namespace the runner resolves at runtime, so they are expected rather than defects;
  • ruff>=0.6.0 in the dev extra, so the config is reachable from a plain pip install -e .[dev].

No global select/ignore block is added: Ruff stays on its defaults, so the checks/ exception is the only new policy and the rest stays open for its own pass.

Measured with ruff 0.16.9 on this checkout: F821 drops from 2267 findings to 1079, i.e. the checks/ tree accounts for ~1188 of them. The remaining ~1079 are in exercises/ and solutions/ (same learner-stub reason) and are deliberately left alone. E501 and the other ~212 violations are untouched — 1244 findings before and after.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: cfbb9991-5b82-43e0-8f8a-5439618ecb2a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

Implements the policy proposed in abhiksark#133, scoped to what it asks for:

* checks/**/*.py ignores F821 only — those undefined names come from the
  learner namespace the runner resolves at runtime, so they are expected
  rather than defects;
* ruff moves into the dev extra so the config is reachable from
  pip install -e .[dev].

No global select/ignore block is added: Ruff stays on its defaults so the
checks/ exception is the only new policy, and the remaining violations
stay open for their own pass.
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