Compare commits

...

2 Commits

Author SHA1 Message Date
pictuga 25d63f2aee drone: pypy publish
continuous-integration/drone/push Build is failing Details
2021-12-05 16:26:53 +01:00
pictuga 4a8dca1fbf drone: simplify lint 2021-12-05 16:25:49 +01:00
1 changed files with 15 additions and 6 deletions

View File

@ -2,14 +2,23 @@ kind: pipeline
name: default name: default
steps: steps:
- name: isort - name: lint
image: python:alpine
commands:
- pip install isort
- isort --check-only --diff .
- name: pylint
image: alpine image: alpine
commands: commands:
- apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en - 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] - pip3 install --no-cache-dir .[full] .[dev]
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8 - pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
- name: pypy
image: plugins/pypi
settings:
username:
from_secret: pypy_user
password:
from_secret: pypy_pwd
when:
branch:
- master
event:
- push