Skip to content

Running mypy only on certain files #67

Closed
@brianmaissy

Description

@brianmaissy

I have a large codebase and I would like to run mypy only on a subset of it.

I have the globs to check defined in the files setting in my mypy.ini file, but since the pytest-mypy plugin explicitly passes a list of all of the files, that behavior is overridden.

What do you think of adding a command line argument which turns off the behavior of passing the filenames to mypy, or lets me override it, or something to that effect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions