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

chore(style): Run pyupgrade --py311-plus to modernize idioms #3051

Merged
merged 2 commits into from
May 8, 2024

Conversation

effigies
Copy link
Contributor

@effigies effigies commented May 8, 2024

pyupgrade is a tool that automatically adopts newer syntax when available without changing the results. The semantics might change slightly (e.g. f-strings have different bytecode than the equivalent string.format(...)) but it's very good about not breaking things, so it's pretty safe.

Copy link

codecov bot commented May 8, 2024

Codecov Report

Attention: Patch coverage is 85.29412% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 43.42%. Comparing base (cd5c1e0) to head (3f133d1).
Report is 2 commits behind head on master.

Files Patch % Lines
services/datalad/datalad_service/handlers/git.py 60.00% 2 Missing ⚠️
services/datalad/datalad_service/common/annex.py 80.00% 1 Missing ⚠️
services/datalad/datalad_service/handlers/files.py 50.00% 1 Missing ⚠️
services/datalad/datalad_service/tasks/audit.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3051      +/-   ##
==========================================
+ Coverage   42.48%   43.42%   +0.94%     
==========================================
  Files         601      601              
  Lines       37971    37971              
  Branches     1113     1147      +34     
==========================================
+ Hits        16131    16490     +359     
+ Misses      21624    21274     -350     
+ Partials      216      207       -9     

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

@nellh nellh merged commit 0bba4b7 into OpenNeuroOrg:master May 8, 2024
11 checks passed
@effigies effigies deleted the sty/pyupgrade branch May 8, 2024 21:47
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