1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +00:00

add linting step

This commit is contained in:
Anson 2021-10-05 15:41:49 -07:00
parent 20ec52fc22
commit 621e8a75c3

View File

@ -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 #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 #Kaniko docs are here: https://github.com/GoogleContainerTools/kaniko
#While this example shows building to multiple registries for all branches, with a few modifications #While this example shows building to multiple registries for all branches, with a few modifications