From 621e8a75c3df7513547fbdf8f18dc1323d760944 Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 5 Oct 2021 15:41:49 -0700 Subject: [PATCH] add linting step --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 500f8e9..0df1002 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,10 @@ +black: + stage: linting + image: registry.gitlab.com/pipeline-components/black:latest + script: + - black --check --verbose -- . + + #Following instructions (as of 2020-04-01): https://docs.gitlab.com/ee/ci/docker/using_kaniko.html #Kaniko docs are here: https://github.com/GoogleContainerTools/kaniko #While this example shows building to multiple registries for all branches, with a few modifications