Sign inSign up

mccutchen/python-black

By mccutchen

•Updated about 4 years ago

A minimal docker image for running Python's black code formatter, useful in CI pipelines

Image
0

10K+

mccutchen/python-black repository overview

⁠⚠️ Deprecation Notice ⚠️

This image has been retired, because the upstream psf/black project⁠ now publishes an official docker image on Docker Hub at pyfound/black⁠:

# pull a specific version
docker pull pyfound/black:22.6.0

# pull latest released version
docker pull pyfound/black:latest_release

Please use that official image instead of this one. No new versions will be pushed for this image.

⁠Quick migration guide

If migrating from mccutchen/python-black to pyfound/black, note that you'll need to add black to the command line itself:

- docker run --rm -v $(pwd):/src mccutchen/python-black --check --diff /src
+ docker run --rm -v $(pwd):/src pyfound/black black --check --diff /src

Tag summary

Content type

Image

Digest

Size

20.9 MB

Last updated

about 4 years ago

docker pull mccutchen/python-black