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

Bugfix: fix optional positional arguments. #345

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

joshlk
Copy link
Contributor

@joshlk joshlk commented Mar 4, 2025

Optional positional argument previously raised an error with argparse:

TypeError: 'required' is an invalid argument for positionals

Fixes #346

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.29%. Comparing base (a70c4c7) to head (e814070).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #345   +/-   ##
=======================================
  Coverage   86.29%   86.29%           
=======================================
  Files          34       34           
  Lines        4553     4554    +1     
=======================================
+ Hits         3929     3930    +1     
  Misses        624      624           

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

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.

Optional positional arguments throw an error in argparse
1 participant