Skip to content

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

@codecov
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).
Report is 1 commits behind head on master.

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Owner

@lebrice lebrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, neat pr @joshlk , thanks a lot!

@lebrice lebrice merged commit 2a69ceb into lebrice:master May 21, 2025
7 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.

Optional positional arguments throw an error in argparse

2 participants