black --diff .

Category: Python & pip

black --diff .

Show what Black would change without modifying files

Shows what Black would change as a diff without actually modifying files.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.