vscode-mypy
wrongly linters missing imports when mypy
is used with pre-commit
#324
Labels
vscode-mypy
wrongly linters missing imports when mypy
is used with pre-commit
#324
I am using pre-commit, which runs
mypy
with--ignore-missing-imports
by default with the following configuration:However, this extension wrongly linters my code as if the import are not being ignored.
Nevertheless, the pre-commit is passing in all hooks, including
mypy
I suggest that this extension should be
.pre-commit-config.yaml
-aware and rundmypy
with--ignore-missing-imports
so that the lintering matches the actual hook.The text was updated successfully, but these errors were encountered: