4 ms·
I run this as a job in my build pipeline: black --diff black --check The first one shows you what's different (so you have logs in your build job), the secon
by theptip 7y ago
I run this as a job in my build pipeline:
black --diff
black --check
The first one shows you what's different (so you have logs in your build job), the second one fails your job if there are any diffs. You could just do the second one if you're a fan of the whole brevity thing.