A `--check` mode would be useful
simonw opened this issue · 3 comments
simonw commented
I like to run tests in CI against pull requests that fail if the user forgot to run Black or various other tools.
Black provides a useful --check
option for this:
black --check .
It would be great if blacken-docs
had the equivalent.
asottile commented
please search the issue tracker
simonw commented
Thanks - I figured out how to solve my problem from those comments. Wrote it up here: https://til.simonwillison.net/sphinx/blacken-docs