Skip to content

extend-select and additional ruff rules #587

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

@DimitriPapadopoulos DimitriPapadopoulos force-pushed the extend-select branch 8 times, most recently from 5973912 to eefd30e Compare December 25, 2024 22:52
F507 `%`-format string has 1 placeholder(s) but 2 substitution(s)
F541 f-string without any placeholders
F811 Redefinition of unused function
E701 Multiple statements on one line (colon)
E702 Multiple statements on one line (semicolon)
E703 Statement ends with an unnecessary semicolon
E711 Comparison to `None` should be `is None`
E714 Test for object identity should be `is not`
W191 Indentation contains tabs
W605 Invalid escape sequence: `\.`
SIM103 Return the negated condition directly
PERF401 Use `list.extend` to create a transformed list
RUF022 `__all__` is not sorted
Add a few rules in the process.
Copy link

codecov bot commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 74.68354% with 20 lines in your changes missing coverage. Please review.

Project coverage is 84.66%. Comparing base (7d90ecc) to head (b01fe7f).

Files with missing lines Patch % Lines
nipy/algorithms/statistics/utils.py 12.50% 14 Missing ⚠️
nipy/labs/viz_tools/coord_tools.py 0.00% 2 Missing and 2 partials ⚠️
nipy/core/reference/tests/test_matrix_groups.py 0.00% 1 Missing ⚠️
nipy/labs/viz_tools/maps_3d.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #587   +/-   ##
=======================================
  Coverage   84.66%   84.66%           
=======================================
  Files         294      294           
  Lines       27452    27467   +15     
  Branches     3154     3149    -5     
=======================================
+ Hits        23243    23256   +13     
- Misses       3265     3267    +2     
  Partials      944      944           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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