Add threshold flag for mypy errors #18409
Labels
feature
topic-configuration
Configuration files and flags
topic-error-reporting
How we report errors
topic-usability
Feature
Currently mypy has flags to disable error based on the error codes. But There is no such options to add threshold for number of errors.
I came across
--max-error-count
but this option is not working in python 3.9.Hence i am requesting to add some flag similar to
--max-error-count
which will throw error if the number of error count exceed the given value.Pitch
There are many teams which has not on-boarded to mypy . And if someone try to onboard, then that team either has to fix all the errors or ignore the error. But by adding this feature team can onboard to mypy and can fix the error incrementally by controlling the threshold value.
The text was updated successfully, but these errors were encountered: