From a2a5ef8fa6e3db2fbfff5051b3da8df5ce5e9754 Mon Sep 17 00:00:00 2001 From: Iurii Tatishchev Date: Sun, 10 Oct 2021 22:42:11 -0700 Subject: [PATCH] Drone CI add style pipeline with pylint --- .drone.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.drone.yml b/.drone.yml index d1b38a4..c2c8d72 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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