prybalko / docker-black

Alpine-based version of Python Black for reproducible usage in CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image for black

Alpine-based version of Python Black for reproducible usage in CI

Build Status Tag License

Tiny Alpine-based multistage-build dockerized version of Black[1].

[1] Official project: https://github.com/python/black

Docker mounts

The working directory inside the Docker container is /data/ and should be mounted locally to the root of your project.

Usage

# Linux, Mac, Windows (Powershell)
docker run --rm -v $(pwd):/data prybalko/black main.py

# Windows (cmd)
docker run --rm -v %cd%:/data prybalko/black main.py

License

MIT License

Copyright (c) 2019 prybalko

About

Alpine-based version of Python Black for reproducible usage in CI

License:MIT License


Languages

Language:Dockerfile 100.0%