Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
b0c534b2
Commit
b0c534b2
authored
Feb 19, 2021
by
Seb
Browse files
Add linting to gitlab
parent
287c5fb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b0c534b2
stages
:
stages
:
-
test
-
test
-
lint
-
release
-
release
...
@@ -29,6 +30,23 @@ lts_211:
...
@@ -29,6 +30,23 @@ lts_211:
before_script
:
before_script
:
-
pip install .['testing'] wagtail~=2.11 django~=3.1
-
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
:
build
:
image
:
python:3.8
image
:
python:3.8
stage
:
release
stage
:
release
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment