Puneeth-n / docker-black

Use the black python code formatter with no install!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Black python code formatter with Docker

This image lets you run black without installing python3.6 or messing up with virtualenv/pyenv.

Install

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!

About

Use the black python code formatter with no install!


Languages

Language:Dockerfile 69.2%Language:Shell 30.8%