From bb60a6d364de481fc94ec5e5d398bdde808946b7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 28 May 2020 13:40:25 +0200 Subject: GitLab CI: Add linting task (black --check) --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f397fcd..08b736e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,13 @@ image: debian:bullseye stages: - test +lint_python: + stage: test + script: + - apt-get update -qy + - apt-get install black + - black --check bin + run_tests: stage: test script: -- cgit v1.2.3