python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
18.19k stars 2.78k forks source link

`follow_imports = silent` not suppressing error messages #11399

Closed gbolmier closed 2 years ago

gbolmier commented 2 years ago

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

hauntsaninja commented 2 years ago

Thanks, duplicate of #11239