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/pyupgrade rules (UP) #1351

Merged
merged 4 commits into from
Sep 22, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

UP006 Use `type` instead of `Type` for type annotation
UP006 Use `tuple` instead of `ty.Tuple` for type annotation
Copy link

codecov bot commented Sep 22, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.34%. Comparing base (83eaf0b) to head (bf3e23e).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
nibabel/cmdline/ls.py 0.00% 1 Missing ⚠️
nibabel/freesurfer/mghformat.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1351   +/-   ##
=======================================
  Coverage   95.34%   95.34%           
=======================================
  Files         207      207           
  Lines       29507    29507           
  Branches     4982     4982           
=======================================
  Hits        28134    28134           
  Misses        932      932           
  Partials      441      441           

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

UP031 Use format specifiers instead of percent format
UP032 Use f-string instead of `format` call
@effigies effigies merged commit d1930e9 into nipy:master Sep 22, 2024
48 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