Sign inSign up

stellargraph/black

By stellargraph

•Updated about 6 years ago

Alpine docker container for black: https://github.com/ambv/black

Image
0

10K+

stellargraph/black repository overview

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

Tag summary

Content type

Image

Digest

Size

13.4 MB

Last updated

over 6 years ago

docker pull stellargraph/black