+22
−6
Loading
Fixes #448. This diff makes us always write to the cache in normal mode, except if the file is already in the cache, and it makes us write to the cache in --check mode if the file is already well formatted. I also fixed some related docstrings. WriteBack.NO is now used only in tests.