stages: - lint pre-commit: stage: lint image: python:latest before_script: - pip install pre-commit types-redis - pre-commit install script: - pre-commit run --all-files