Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

By default, MyPy will ignore modules without __init__.py's #25

@Farmer-Pete

Description

@Farmer-Pete

As I'm sure you are aware, in Python3, __init__.py is no longer required for modules.

The only problem is that in MyPy, when the __init__.py file is missing, it won't find the module and since ignore_missing_imports is set the True, the result is that large portions of the code will be ignored.

The fix for this is to set namespace_packages to True

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