diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-05-28 13:40:25 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-05-28 13:40:25 +0200 |
commit | bb60a6d364de481fc94ec5e5d398bdde808946b7 (patch) | |
tree | 0cfafc9966ea460ce09c167e44190fbfb8526926 | |
parent | c69331e4d925658b2bf26dcb387981f6530d7b9e (diff) |
GitLab CI: Add linting task (black --check)
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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: |