Skip to content

Specifying to ignore python module in configuration file #11239

@james-riley678

Description

@james-riley678

mypy version 0.910 is being used along with Python 3.7

I am importing the python module azure-storage-blob in my code. When using mypy it comes up with the following errors:

/virtualenvs/src-foikFr8K/lib/python3.7/site-packages/azure/storage/blob/_serialize.py:129: error: Type signature has too many arguments
/virtualenvs/src-foikFr8K/lib/python3.7/site-packages/azure/storage/blob/_blob_client.py:1406: error: Type signature has too few arguments

This fails on the line when I do this import

from azure.storage.blob import BlobServiceClient, BlobClient

Obviously I cannot change the code for this package so I need to specify in the config file to ignore it.

However, whatever I put in, it doesn't seem to ignore it:

[mypy-azure-storage-blob]
ignore_errors = True

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions