Add code style check to pipeline
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Luca 2023-12-22 18:04:03 +01:00
parent 1e8539dbb9
commit 3e44b21bc7
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,13 @@ type: docker
name: default name: default
steps: steps:
- name: check code style
image: python:3.11-alpine
commands:
- pip install black isort
- black --check .
- isort --check .
- name: build only - name: build only
image: plugins/docker image: plugins/docker
settings: settings: