Python Docker image with black
9.5K
Docker image based on the Python 3 one https://hub.docker.com/_/python/ with the following additional libraries:
blackRun with:
docker run -it --rm --name black -v "$PWD":/usr/src/black houzefaabba/python3-black .
The final dot checks the current directory; run with --help instead for black run
instructions.
Useful bash alias to go along:
alias black='docker run -it --rm --name black -v "$PWD":/usr/src/black houzefaabba/python3-black'
Also check out https://bitbucket.org/houzefa-abba/black-docker/src/default/run-as-python-module to run black as a Python module - useful to integrate with IDEs such as PyDev (Eclipse).
Content type
Image
Digest
Size
31.9 MB
Last updated
over 7 years ago
docker pull houzefaabba/python3-black