All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 [//]: # "NOTE: THIS FILE WAS AUTOGENERATED FROM README.md"
3 # Ignoring unmodified files
5 _Black_ remembers files it has already formatted, unless the `--diff` flag is used or
6 code is passed via standard input. This information is stored per-user. The exact
7 location of the file depends on the _Black_ version and the system on which _Black_ is
8 run. The file is non-portable. The standard location on common operating systems is:
11 `C:\\Users\<username>\AppData\Local\black\black\Cache\<version>\cache.<line-length>.<file-mode>.pickle`
13 `/Users/<username>/Library/Caches/black/<version>/cache.<line-length>.<file-mode>.pickle`
15 `/home/<username>/.cache/black/<version>/cache.<line-length>.<file-mode>.pickle`
17 `file-mode` is an int flag that determines whether the file was formatted as 3.6+ only,
18 as .pyi, and whether string normalization was omitted.
20 To override the location of these files on macOS or Linux, set the environment variable
21 `XDG_CACHE_HOME` to your preferred location. For example, if you want to put the cache
22 in the directory you're running _Black_ from, set `XDG_CACHE_HOME=.cache`. _Black_ will
23 then write the above files to `.cache/black/<version>/`.