Skip to content

Apply ruff/Perflint rules (PERF) #582

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 2 commits into from
Oct 6, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 78.57143% with 3 lines in your changes missing coverage. Please review.

Project coverage is 84.62%. Comparing base (2c1cf76) to head (f25ebb8).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
nipy/algorithms/clustering/gmm.py 0.00% 1 Missing ⚠️
...y/algorithms/clustering/hierarchical_clustering.py 0.00% 1 Missing ⚠️
nipy/interfaces/spm.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #582   +/-   ##
=======================================
  Coverage   84.61%   84.62%           
=======================================
  Files         293      293           
  Lines       27481    27448   -33     
  Branches     3363     3349   -14     
=======================================
- Hits        23254    23227   -27     
+ Misses       3273     3267    -6     
  Partials      954      954           

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

PERF401 Use a list comprehension to create a transformed list
PERF402 Use `list` or `list.copy` to create a copy of a list
@effigies effigies merged commit f4aa8e4 into nipy:main Oct 6, 2024
23 of 24 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the PERF branch October 6, 2024 14:11
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