KEMBAR78
Plugins are loaded only if the config file is explicitly given · Issue #3769 · python/mypy · GitHub
Skip to content

Plugins are loaded only if the config file is explicitly given #3769

@Tinche

Description

@Tinche

This is the problem:

if not options.config_file:

If I run mypy just using mypy a.py with a mypy.ini in the current directory, options.config_file will for some reason be None and no plugins will be loaded. options.plugins will be set properly though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions