You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(... except for many config file diagnostics, which don't)
Of options that are enabled by flags named --warn-something, we produce all three kinds of diagnostics:
--warn-redundant-cast produces a note
--warn-return-any produces a warning
Most seem to produce errors
We emit very few warnings, so I think the right approach is to just eliminate them (and "bare" notes emitted without an error) and turn them all into errors.
The other approach would be to make warnings able to not cause an error return and to reclassify certain warnings as errors. I don't have a real problem with this other than not wanting to do that reclassification. Doing the first would not prevent us from doing this in the future.
Activity
ilevkivskyi commentedon Mar 20, 2019
#6472 looks related (in the sense it also tries to add some systematics to error reporting).
Turn all warnings and bare notes into errors
Turn all warnings and bare notes into errors (#6650)
Typeshed cherry-pick: Use AbstractSet instead of set in random and in…
Cherry-pick some stub fixes from typeshed (#11739)
Cherry-pick some stub fixes from typeshed (python#11739)