Skip to content

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

Open

Description

@WutingjiaX

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

Activity

  1. brianschubert commented on Jun 10, 2025

    @brianschubert
    Collaborator

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

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

  2. wyattscarpenter commented on Jul 23, 2025

    @wyattscarpenter
    Contributor

    @WutingjiaX do you mean enable?

  3. wyattscarpenter commented on Jul 23, 2025

    @wyattscarpenter
    Contributor

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions