This image lets you run black without installing python3.6 or messing up with virtualenv/pyenv.
Add this function to your .bashrc/.zshrc:
black() { docker run -v $(pwd):/code jbbarth/black $*; }
Reload your shell (source or exit/reopen) and you're good to go!