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

10 months ago
  1. stages:
  2. - check
  3. check:
  4. stage: check
  5. image: registry.cern.ch/docker.io/library/python:3.10
  6. before_script:
  7. - pip install pre-commit
  8. script:
  9. - pre-commit run --all-files
  10. variables:
  11. PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
  12. cache:
  13. paths:
  14. - ${PRE_COMMIT_HOME}