mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Can JSON format output and command line parameter options for -- disable-error-code all be supported?

Open WutingjiaX opened this issue 1 year ago • 1 comments

Feature

As the title suggests

Pitch

JSON format output is easier to handle by code,and -- disable-error-code all seems to be a natural and reasonable parameter

Both ruff and pylint support these options

WutingjiaX avatar Jun 27 '24 05:06 WutingjiaX

JSON output format is already supported via --output json.

Linking #2376, #19048 for discussion related to --disable-error-code all

brianschubert avatar Jun 10 '25 14:06 brianschubert

@WutingjiaX do you mean enable?

wyattscarpenter avatar Jul 23 '25 01:07 wyattscarpenter

I suppose you could be asking to be able to disable all the error codes, so that you can then enable a couple individually afterwards 🤔 I could see a use for that. Otherwise it seems odd to use a typechecker but disable all the checks!

wyattscarpenter avatar Jul 23 '25 01:07 wyattscarpenter