Skip to content
Snippets Groups Projects

Resolve "Implement linting"

Merged Georg Krause requested to merge 2-implement-linting into main
Files
3
+ 10
0
@@ -6,12 +6,22 @@
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
- lint
- test
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
black:
image: python:3.10-alpine
stage: lint
before_script:
- apk add poetry
- poetry install
script:
- poetry run black --check .
pytest:
image: python:3.10-alpine
before_script:
Loading