write cache in --check mode (#453)
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.
Loading
Please register or sign in to comment