Skip to content

Expose --no-site-packages to configuration file. #7768

Description

@alanhdu

mypy 0.730 currently supports a --no-site-packages flag, which disables searching for PEP561 compliant packages. Unfortunately, it does not seem to be exposed via a configuration file (I did not find it in https://mypy.readthedocs.io/en/latest/config_file.html and several variations in my config file raised an unused config error).

Would it be possible this option configurable via the config file?

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions