Skip to content

Unable to suppress No library stub file for module... error #3905

Closed
@henryJack

Description

@henryJack

Hi,

In the command line (on windows 10 using Python 3.6) I run mypy <my_module_name>. The output is very informative and has revealed a lot of missing types in my python module.

However, There is currently no mypy switch to suppress the 300+ errors of the form:

- No library stub file for module 'numpy'
-No library stub file for module 'scipy'
-No library stub file for module 'matplotlib'

What is the best way to get around this? I need a clean sheet from the mypy command if I want to integrate a mypy test ainto the build process for my module on gitlab or github.

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