drone: simplify lint

master
pictuga 2021-12-05 16:25:49 +01:00
parent 51f1d330a4
commit 4a8dca1fbf
1 changed files with 2 additions and 6 deletions

View File

@ -2,14 +2,10 @@ kind: pipeline
name: default
steps:
- name: isort
image: python:alpine
commands:
- pip install isort
- isort --check-only --diff .
- name: pylint
- name: lint
image: alpine
commands:
- apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en
- isort --check-only --diff .
- pip3 install --no-cache-dir .[full] .[dev]
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8