glib/.gitlab-ci/run-black.sh
Frederic Martinsons 8f45fbdadd add 2 new stages: sh-check (which run shellcheck) and py-check (which run black and flake8)
The debian docker have been modified to install these tools.

Closes #2046

Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2020-11-15 17:34:21 +01:00

6 lines
65 B
Bash
Executable File

#!/bin/bash
set -e
black --diff --check $(git ls-files '*.py')