Black
pip install black
External tools settings
Program
$PyInterpreterDirectory$\black.exe
Arguments
--line-length 79 $FilePath$
Working directory
$ProjectFileDir$
Advanced Options
Synchronize files after exection
Open console for tool output