Alpine docker container for black: https://github.com/ambv/black
10K+
docker run stellargraph/black defaults to the --help flag.
To run a check on a python file:
docker run --read-only -v $(pwd):$(pwd) -w $(pwd) stellargraph/black --check foo.py
Not that the mounted directory has to be where the file exists, e.g.,
docker run --read-only -v /home/ubunu/somefolder/:/black/ -w /black/ stellargraph/black --check foo.py
Content type
Image
Digest
Size
13.4 MB
Last updated
over 6 years ago
docker pull stellargraph/black