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