Skip to content

Better documentation around using different python versions for different modules #16944

Open
@neelmraman

Description

@neelmraman

Documentation

As far as I can tell from the docs/google searches/looking through github issues, there isn't guidance on the standard or simplest ways to run mypy in a monorepo of sorts where different directories are on different python versions. I was hoping I could use the python_version config option, but it seems like that can only be set on a global level.

I guess one workaround would be replacing calls like mypy . with a series of calls running over specific directories with their specific python versions, but I was wondering if there is a less cumbersome approach.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions