Python Black formatter image Using in a Gitlab CI In Gitlab CI one can easily use the image milansuk/python-black and run black --check .. black: stage: static-analysis image: milansuk/python-black:latest script: - black --check . Docker hub https://hub.docker.com/r/milansuk/python-black/