Open
Description
When tests are executed with typecheck_in_new_subprocess
and disable_cache
is False
, --cache-dir
is passed directly to mypy
call as a path relative to root directory.
This means that the following are ignored
- MYPY_CACHE_DIR
in execution environment or
env` block of the test case. cache_dir
in mypy configuration.
are ignored.
This behavior is confusing, so it might be a good idea to document it.
In a long run, YamlTestItem
should check if any of these are provided, and omit --cache-dir
in such cases (this would be useful for example with remote cache).
Metadata
Metadata
Assignees
Labels
No labels