Skip to content
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

STY: Enforce ruff/Perflint rules (PERF) #1361

Merged
merged 5 commits into from
Sep 25, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Sep 22, 2024

Codecov Report

Attention: Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.36%. Comparing base (c742552) to head (74c853f).
Report is 21 commits behind head on master.

Files with missing lines Patch % Lines
nibabel/data.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1361   +/-   ##
=======================================
  Coverage   95.36%   95.36%           
=======================================
  Files         207      207           
  Lines       29680    29674    -6     
  Branches     4992     4990    -2     
=======================================
- Hits        28305    28300    -5     
+ Misses        935      934    -1     
  Partials      440      440           

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

PERF102 When using only the keys of a dict use the `keys()` method
PERF102 When using only the values of a dict use the `values()` method
PERF401 Use a list comprehension to create a transformed list
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
@effigies effigies merged commit 26b81aa into nipy:master Sep 25, 2024
44 of 49 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.

2 participants