---
# black is the uncompromising python code formatter
# https://github.com/psf/black
include:
  - remote: https://jobs.just-ci.dev/56-fix-python-pytest-do-not-add-cwd-to-path/python/generic.yml

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