-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Support -r w
and remove --disable-warnings
argument
#5066
Comments
I like to be able to pass To give some more context, I believe this option was added as a quick way to disable warnings because at that time we have decided to show internal warnings by default, and thought people would get annoyed (and people did). Since then a lot has changed, with us dropping the internal warnings system and showing all warnings by default (and more people got annoyed too hehehe). But it doesn't seem necessary to actually remove the option, does it? Or is just a matter to cleanup what we believe is mostly an unused option? |
Yes, for cleanup.
Cool. |
I see, thanks. 👍 I agree, definitely sounds good. We just have to follow the normal deprecation procedure: emit warnings and only remove it effectively in 5.0. 😁 |
Adds handling of `N` to reset `reportchars`, which can be used to get the old behavior (`-rN`), and also allows for an alternative to `--disable-warnings` (pytest-dev#5066), since `w` was included by default (without `--disable-warnings`). Fixes pytest-dev#6454
Adds handling of `N` to reset `reportchars`, which can be used to get the old behavior (`-rN`), and also allows for an alternative to `--disable-warnings` (pytest-dev#5066), since `w` was included by default (without `--disable-warnings`). Fixes pytest-dev#6454
Adds handling of `N` to reset `reportchars`, which can be used to get the old behavior (`-rN`), and also allows for an alternative to `--disable-warnings` (pytest-dev#5066), since `w` was included by default (without `--disable-warnings`). Fixes pytest-dev#6454
Adds handling of `N` to reset `reportchars`, which can be used to get the old behavior (`-rN`), and also allows for an alternative to `--disable-warnings` (pytest-dev#5066), since `w` was included by default (without `--disable-warnings`). Fixes pytest-dev#6454
Adds handling of `N` to reset `reportchars`, which can be used to get the old behavior (`-rN`), and also allows for an alternative to `--disable-warnings` (pytest-dev#5066), since `w` was included by default (without `--disable-warnings`). Fixes pytest-dev#6454
-r w
and remove --disable-warnings
argument
It was added in e04d9ff by @aostr, and its only purpose is to remove the "w" in reportopts.
In #1668 (comment) it is mentioned that this was discussed with @hpk42.
The main intention here appears to be to enable them by default.
I suggest adding support for
-w
in reportchars instead.This would also allow for something like
a-s
to have everything, without "skipped" easily.(came here because I want to add
A
also to also includepP
passed ones)The text was updated successfully, but these errors were encountered: