-
Notifications
You must be signed in to change notification settings - Fork 54
STY: Enable more ruff rules #930
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
Conversation
3923cbd to
010635e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #930 +/- ##
=======================================
Coverage 69.37% 69.37%
=======================================
Files 86 86
Lines 8474 8474
Branches 1057 1057
=======================================
Hits 5879 5879
Misses 2373 2373
Partials 222 222 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One line took a bit to understand, so I suggested a clearer rewrite.
G004 Logging statement uses f-string
RUF015 Prefer `next(...)` over single element slice
RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
RUF055 Plain string pattern passed to `re` function
F841 Local variable is assigned to but never used
PLE1205 Too many arguments for `logging` format string
PLW1508 Invalid type for environment variable default; expected `str` or `None`
a75cc1a to
3a8e7bf
Compare
Co-authored-by: Chris Markiewicz <[email protected]>
Fix CI error.
bda3bf0 to
a7249c3
Compare
1.13.0 (March 20, 2025) New feature release in the 1.13.x series. This release restructures the ANTs brain extraction workflow. This should be a backwards compatible change, but a minor release is used out of caution. * FIX: Remove duplicated code, problematic deviation from antsBrainExtraction (#931) * FIX: Listify numbers (#925) * ENH: Allow + symbol in label entities (#926, #927) * STY: Apply various ruff checks (#913, #915, #917, #918, #919, #930)
No description provided.