You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_DIRin execution environment orenv` 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).
The text was updated successfully, but these errors were encountered:
When tests are executed with
typecheck_in_new_subprocess
anddisable_cache
isFalse
,--cache-dir
is passed directly tomypy
call as a path relative to root directory.This means that the following are ignored
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).The text was updated successfully, but these errors were encountered: