---
include:
 - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
 - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

stages:
  - provisioning
  - build
  - test
  - publish
  - lint

ruff:
  stage: lint
  image: python:latest
  script:
    - pip install ruff
    - ruff check .
  cache:
    paths:
      - ~/.cache/pip

mypy:
  stage: lint
  image: python:latest
  script:
    - pip install mypy
    - mypy .
  cache:
    paths:
      - ~/.cache/pip

ruff-format:
  stage: lint
  image: python:latest
  script:
    - pip install ruff
    - ruff format --check .
  cache:
    paths:
      - ~/.cache/pip
