Black will cache already formatted files using their file size and modification timestamp. The cache is per-user and will always be used unless Black is used with --diff or with code provided via standard input.
Fixes #103
Fixes #54
See: https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi