You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
303 B
15 lines
303 B
stages:
|
|
- check
|
|
|
|
check:
|
|
stage: check
|
|
image: registry.cern.ch/docker.io/library/python:3.10
|
|
before_script:
|
|
- pip install pre-commit
|
|
script:
|
|
- pre-commit run --all-files
|
|
variables:
|
|
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
|
|
cache:
|
|
paths:
|
|
- ${PRE_COMMIT_HOME}
|