From 3e44b21bc743ecd0f0f111a354691d40c76979f5 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 22 Dec 2023 18:04:03 +0100 Subject: [PATCH] Add code style check to pipeline --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9937a8e..44d00ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,13 @@ type: docker name: default steps: + - name: check code style + image: python:3.11-alpine + commands: + - pip install black isort + - black --check . + - isort --check . + - name: build only image: plugins/docker settings: