mirror of
https://gitlab.com/oecis/charts.git
synced 2025-04-19 08:44:23 +02:00
ci: add pre-commit
This commit is contained in:
parent
729b2d7a4e
commit
8996f5cf34
1 changed files with 10 additions and 0 deletions
10
.gitlab-ci.yml
Normal file
10
.gitlab-ci.yml
Normal 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
|
Loading…
Add table
Reference in a new issue