Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Removed deprecated ruff rule E999 from ruff.toml #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

EGJ-Moorington
Copy link
Contributor

@EGJ-Moorington EGJ-Moorington commented Jun 17, 2025

Removed the check for rule E999 (sintax-error), which has been deprecated, from ruff.toml. According to the documentation:

Syntax errors will always be shown regardless of whether this rule is selected or not.

Using this rule produced an error when running the ruff pre-commit hook:

ruff (legacy alias)......................................................Failed

  • hook id: ruff
  • exit code: 2

ruff failed
Cause: Rule E999 was removed and cannot be selected.

Resolves #249

@dhalbert dhalbert requested a review from FoamyGuy June 19, 2025 16:25
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

Note to self: It would probably good at some point to use adabot to patch this change to the rest of the library repos as well.

@FoamyGuy FoamyGuy merged commit 253d810 into adafruit:main Jun 19, 2025
4 checks passed
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.

Remove deprecated ruff rule E999 from ruff.toml
2 participants