'Mypy does not ignore mpi4py module with syntax error
In mypy.ini there is
[mypy-mpi4py]
ignore_missing_imports = True
With this mypy is getting the following error
Success: no issues found in 4 source files
s\d\L\.env\lib\site-packages\mpi4py\MPI.pyi:948: error:
invalid syntax [syntax]
def __new__(cls, buf: Buffer, /) -> memory: ...
^
Found 1 error in 1 file (errors prevented further checking)
Success: no issues found in 3 source files
How can I setup the config to ignore the module ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
