There is no solution to adhere Black using pprint. However, if you don't want to use json dump, I wrote this custom pretty print formatter that does the job: Black Style Printer