Skip to content

follow_imports = silent not suppressing error messages #11399

@gbolmier

Description

@gbolmier

Bug Report

To Reproduce

The python script looks like:

import azure.storage.blob

Expected Behavior

The following imports section of the documentation indicates that:

silent behaves in the same way as normal but will additionally suppress any error messages.

Actual Behavior

The error messages aren’t suppressed:

/usr/local/Caskroom/miniconda/base/envs/mlops-toolkit/lib/python3.7/site-packages/azure/storage/blob/_serialize.py:129: error: Type signature has too many arguments
/usr/local/Caskroom/miniconda/base/envs/mlops-toolkit/lib/python3.7/site-packages/azure/storage/blob/_blob_client.py:1406: error: Type signature has too few arguments

Your Environment

  • Mypy version used: 0.910
  • Mypy command-line flags:
  • Mypy configuration options from setup.cfg:
    [mypy]
    files = .
    ignore_missing_imports = True
    
    [mypy-azure.*]
    follow_imports = silent
    
  • Python version used: 3.7.11
  • Operating system and version: macOS Big Sur 11.6
  • Libraries installed:
    azure-core==1.19.0
    azure-storage-blob==12.9.0
    

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