The pip cache now only checks only pyproject.toml, and is shared by all linting tasks. The tasks all depend on cirkit[lint], and the editable-installed packages do not go into the cache dir. Thus the single cache key would work. (Although changing other configs will also make the cache obsolete unnecessarily.)
.mypy_cache is added to the caches using another cache action to save time on stdlibs and dependencies.
The pip cache now only checks only
pyproject.toml
, and is shared by all linting tasks. The tasks all depend oncirkit[lint]
, and the editable-installed packages do not go into the cache dir. Thus the single cache key would work. (Although changing other configs will also make the cache obsolete unnecessarily.).mypy_cache
is added to the caches using another cache action to save time on stdlibs and dependencies.