Black has a flag --check so that it returns a non-zero status code when it detects something that needs reformatting. It would be nice if blacken-docs had this as well. If it had, it would be possible to include it into CI.
Related to zedr/clean-code-python#26 (comment)
Black has a flag
--checkso that it returns a non-zero status code when it detects something that needs reformatting. It would be nice ifblacken-docshad this as well. If it had, it would be possible to include it into CI.Related to zedr/clean-code-python#26 (comment)