8000 Enable only a few error codes · Issue #7599 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content
Enable only a few error codes #7599
Open
@dpinol

Description

@dpinol
  • Are you reporting a bug, or opening a feature request?
    Feature request

I think one of the largest problems with static analyzers is dealing with legacy code. Mypy has a nice documentation about it https://mypy.readthedocs.io/en/latest/existing_code.html

However, what I'm missing is a way to only enable a few checks. In this way I can start by only enabling the most critical checks (eg. name-defined).

As an example, in pylint you can configure the list of checks at the config file, or do --disable=all --enable=check1,check2
http://pylint.pycqa.org/en/latest/user_guide/run.html#command-line-options

thank you guys for this awesome project!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0