https://github.com/prybalko/docker-black
Alpine-based version of Python Black for reproducible usage in CI
https://github.com/prybalko/docker-black
alpine black docker formatter python python-black
Last synced: 3 months ago
JSON representation
Alpine-based version of Python Black for reproducible usage in CI
- Host: GitHub
- URL: https://github.com/prybalko/docker-black
- Owner: prybalko
- License: mit
- Created: 2019-11-29T04:13:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T03:47:31.000Z (over 3 years ago)
- Last Synced: 2025-01-06T21:26:50.589Z (5 months ago)
- Topics: alpine, black, docker, formatter, python, python-black
- Language: Dockerfile
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker image for `black`
Alpine-based version of Python Black for reproducible usage in CI[](https://travis-ci.com/prybalko/docker-black)
[](https://github.com/prybalko/docker-black/releases)
[](https://opensource.org/licenses/MIT)Tiny Alpine-based multistage-build dockerized version of [Black](https://github.com/python/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
```bash
# 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](LICENSE)**
Copyright (c) 2019 [prybalko](https://github.com/prybalko)