Drone CI add style pipeline with pylint

This commit is contained in:
Iurii Tatishchev 2021-10-10 22:42:11 -07:00
parent 583cf626fd
commit a2a5ef8fa6
Signed by: CaZzzer
GPG Key ID: 926BE949E29DCD03

View File

@ -63,3 +63,21 @@ steps:
from_secret: S3_ACCESS_KEY
secret_key:
from_secret: S3_SECRET_KEY
---
kind: pipeline
type: kubernetes
name: style
steps:
- name: install_venv
image: *python_image
commands:
- python -m venv venv
- venv/bin/pip install -r requirements/dev.txt
- name: pylint
image: *python_image
environment:
<<: *default_environment
failure: ignore
commands:
- venv/bin/pylint --reports=yes main