image: python:3.7 stages: - lint lint_py: only: changes:
- "*.py"
- "**/*.py" stage: lint before_script: - pip install tox script: - tox -e flake8