Skip to content

Updated ruff to v0.16 - #283

Draft
MitchellAV wants to merge 46 commits into
mainfrom
fix/ruff-16
Draft

MitchellAV wants to merge 46 commits into
mainfrom
fix/ruff-16

Conversation

@MitchellAV

@MitchellAV MitchellAV commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Ruff increment from v0.15 -> v0.16 adds new default rules https://astral.sh/blog/ruff-v0.16.0

"Ruff now enables 413 rules by default, up from 59 in previous versions."

Entire codebase has been updated and notable exceptions have explanations with the following format # noqa: <RUFF_ERROR_CODE> - <REASON FOR EXCEPTION>.

There are many new rules which will result in higher code quality but may cause growing pains when going forward with future contributions.

One in particular is BLE001 - blind-except. Occasionally there are valid reasons to catch a BaseException however, it is best to handle those on a case-by-case basis by including # noqa: BLE001 - <Explanation of reason BaseException would be valid>

Branch requires #275 to be merged first, as it was a starting point and would be easier to review this PR and the ruff changes.

…tly more default rules which would inflate PR
@MitchellAV
MitchellAV marked this pull request as ready for review September 15, 2026 18:23
@roussel-ryan

Copy link
Copy Markdown
Collaborator

Is the intention that this is merged after the BAX PR?

@MitchellAV
MitchellAV marked this pull request as draft September 16, 2026 18:31
@MitchellAV

Copy link
Copy Markdown
Collaborator Author

@roussel-ryan Moved back to Draft PR for clarity. Requires BAX PR to be merged first, as it was the starting point for this PR

@roussel-ryan

Copy link
Copy Markdown
Collaborator

@MitchellAV bax pr has been merged

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.

2 participants