nitpick.style.cache module

Cache functions and configuration for styles.

nitpick.style.cache.parse_cache_option(cache_option: str) Tuple[nitpick.enums.CachingEnum, datetime.timedelta][source]

Parse the cache option provided on pyproject.toml.

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