Document cache location configuration (#866)

This commit is contained in:
Yngve Høiseth 2019-05-26 12:08:22 +02:00 committed by Zsolt Dollenstein
parent 340d87b47c
commit bc7a4b2391

View File

@ -933,6 +933,10 @@ is:
`file-mode` is an int flag that determines whether the file was formatted as 3.6+ only,
as .pyi, and whether string normalization was omitted.
To override the location of these files on macOS or Linux, set the environment variable
`XDG_CACHE_HOME` to your preferred location. For example, if you want to put the cache in
the directory you're running *Black* from, set `XDG_CACHE_HOME=.cache`. *Black* will then
write the above files to `.cache/black/<version>/`.
## Used by