nitpick.style.cache module

Cache functions and configuration for styles.

nitpick.style.cache.parse_cache_option(cache_option: str) tuple[CachingEnum, timedelta | int][source]

Parse the cache option provided on pyproject.toml.

If no cache if provided or is invalid, the default is one hour.