Commit b0c534b2 authored by Seb's avatar Seb
Browse files

Add linting to gitlab

parent 287c5fb6
stages:
- test
- lint
- release
......@@ -29,6 +30,23 @@ lts_211:
before_script:
- pip install .['testing'] wagtail~=2.11 django~=3.1
flake8:
stage: lint
image: python:3.8
before_script:
- pip install flake8
script:
- flake8 wagtailvideos/ tests/
isort:
stage: lint
image: python:3.8
before_script:
- pip install isort -e .
script:
- isort --recursive --diff --check-only wagtailvideos/ tests/
build:
image: python:3.8
stage: release
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment