-
Notifications
You must be signed in to change notification settings - Fork 309
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
Add strict to check command #715
Add strict to check command #715
Conversation
@altendky Thanks for picking this up. I've been collecting ways to improve |
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 again for adding this. It looks like a good place to start, though if/when we want more options, I think we should take a have more discussion about #659.
|
||
positional arguments: | ||
dist The distribution files to check, usually dist/* | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--strict Fail on warnings |
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 updating the docs!
@@ -127,6 +127,32 @@ def test_check_no_description(monkeypatch, capsys): | |||
) | |||
|
|||
|
|||
def test_strict_fails_on_warnings(monkeypatch, capsys): |
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.
I took the liberty of moving this to be near similar tests, instead of at the end of the file.
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! I waited for this feature for years.
Hello. May I know when is 3.3.0 release going to happen to get this feature? Thanks! |
@pllim Thanks for the nudge. I'm hoping to finish up #718 within the next week, which should be the last piece of the 3.3.0 milestone. In the meantime, you can use
|
This has been released: https://pypi.org/project/twine/3.3.0/ |
Fixes #562
Draft for: