---
# black is the uncompromising python code formatter
# https://github.com/psf/black
include:
  - remote: https://jobs.just-ci.dev/88-feat-display-command-with-expanded-variables-for-easier-reproduction/python/generic.yml

python:black:
  extends: .python:pre
  variables:
    JOB_PACKAGE: black
  script:
    - !reference [".python:pre", script]
    - black --version
    - (set -x; black --check --diff --color --exclude "${PYTHON_EXCLUDE_REGEX}"
      .)
  needs: []
