Open tapyu opened 1 month ago
@tapyu are you passing --ignore-missing-imports
via mypy-type-checker.args
? This extension is a thin wrapper around mypy
. All it does is run mypy, and processes the results. If mypy itself does not read certain settings then we avoid doing it.
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.