2021-09-08 19:24:50 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-09-08 20:01:49 +00:00
|
|
|
- name: isort
|
2021-09-08 19:24:50 +00:00
|
|
|
image: python:alpine
|
|
|
|
commands:
|
|
|
|
- pip install isort
|
2021-09-08 19:31:42 +00:00
|
|
|
- isort --check-only --diff .
|
2021-09-08 20:01:49 +00:00
|
|
|
- name: pylint
|
2021-09-08 20:07:21 +00:00
|
|
|
image: alpine
|
2021-09-08 20:01:49 +00:00
|
|
|
commands:
|
2021-09-08 20:21:49 +00:00
|
|
|
- apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-pylint py3-enchant hunspell-en
|
2021-09-08 20:07:21 +00:00
|
|
|
- pip3 install --no-cache-dir .
|
2021-09-08 20:01:49 +00:00
|
|
|
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
|