Skip to content

Use the black python code formatter with no install!

Notifications You must be signed in to change notification settings

jbbarth/docker-black

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages