ci: add pre-commit

This commit is contained in:
Jan-Niklas Weghorn 2024-09-27 12:28:34 +02:00
parent 729b2d7a4e
commit 8996f5cf34

10
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,10 @@
stages:
- lint
pre_commit:
stage: lint
image: python:3.12
before_script:
- pip install pre-commit
script:
- pre-commit run --all-files --show-diff-on-failure