-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Use argparse in scripts/format.py #17360
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
Conversation
The proposed invocation in duckdb/extension-ci-tools#174 doesn't work the same after argparse.
Translates to:
Then there is this code https://github.com/duckdb/duckdb/blob/main/scripts/format.py#L224-L226 which interprets So only the My preference is to remove |
Tested via:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Looks good - nice to move this to argparse. I think we can avoid the change in argument syntax, see my comment below:
The failing check is due to a image pull problem from docker hub per co-pilot. Please rerun the failing check if you have permissions. |
Thanks! Looks great |
Add missing commas (duckdb/duckdb#17424) Use argparse in scripts/format.py (duckdb/duckdb#17360)
Add missing commas (duckdb/duckdb#17424) Use argparse in scripts/format.py (duckdb/duckdb#17360)
Add missing commas (duckdb/duckdb#17424) Use argparse in scripts/format.py (duckdb/duckdb#17360)
Add missing commas (duckdb/duckdb#17424) Use argparse in scripts/format.py (duckdb/duckdb#17360)
argparse
is a widely used library and provides robust argument handling functionality.