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

Make the -v and -q flags incremental #35

Merged
merged 3 commits into from
Aug 24, 2021

Conversation

Artemis21
Copy link
Contributor

See discussion in #34. This means that it is possible to specify normal verbosity again, even if a default verbosity is configured, and will make it easier to support more verbosity levels than just -1, 0 and 1 in the future.

@Artemis21 Artemis21 changed the base branch from main to development August 24, 2021 07:03
@Artemis21
Copy link
Contributor Author

CI test failures because prior to Python 3.8, argparse won't let you group short flags (-v -v -> -vv) when flag abbreviation is enabled.

Disabling flag abbreviation is a potentially breaking change, so I think we have to require users on older Python versions to type out -v -v.

Prior to Python 3.8, argparse does not allow grouping
of short flags ('-v -v' -> '-vv').
@Artemis21
Copy link
Contributor Author

More test failures because apparently echo 'Hello' will echo 'Hello' on Windows, whereas it is just Hello on UNIX.

On Windows, "echo 'Hello'" produces "'Hello'", whereas
on UNIX it just produces "Hello". This had already been
solved in other tests, I just did not see it.
@Artemis21
Copy link
Contributor Author

Passing at last 😅

Copy link
Owner

@nat-n nat-n left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the fine work.

@nat-n nat-n merged commit cb17707 into nat-n:development Aug 24, 2021
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