Skip to content

Modernize the way some keyword-only arguments are implemented#606

Merged
foarsitter merged 2 commits intojazzband:masterfrom
ProtixIT:keyword-only-cleanup
Apr 3, 2024
Merged

Modernize the way some keyword-only arguments are implemented#606
foarsitter merged 2 commits intojazzband:masterfrom
ProtixIT:keyword-only-cleanup

Conversation

@mthuurne
Copy link
Contributor

Python 2 didn't have keyword-only arguments, so some code emulated them by wrangling kwargs. This PR updates that code to use modern syntax instead.

There should be no backwards compatibility issues.

@codecov
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.56%. Comparing base (994d6c1) to head (d8c43ea).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #606      +/-   ##
==========================================
- Coverage   98.57%   98.56%   -0.01%     
==========================================
  Files           6        6              
  Lines         773      769       -4     
==========================================
- Hits          762      758       -4     
  Misses         11       11              

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

@mthuurne mthuurne mentioned this pull request Mar 26, 2024
@foarsitter foarsitter merged commit 23ea25a into jazzband:master Apr 3, 2024
@mthuurne mthuurne deleted the keyword-only-cleanup branch April 4, 2024 17:35
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