The image is for running black, black is installed in /app/ in case you need to customize the install before usage. The image is based on alpine:3.16.
black:
stage: linting
image: registry.gitlab.com/pipeline-components/black:latest
script:
- black --check --verbose -- .