ci: check style

This commit is contained in:
Luca 2023-12-14 00:56:09 +01:00
parent 1889e39b20
commit 6b25989d27
1 changed files with 14 additions and 0 deletions

View File

@ -5,6 +5,14 @@ type: docker
name: default
steps:
- name: check style
image: python:3.12-alpine
commands:
- pip install black isort flake8
- black --check .
- isort -c .
- flake8 .
- name: build
image: python:3.12-alpine
commands:
@ -27,3 +35,9 @@ steps:
when:
event:
- tag
trigger:
event:
- pr
- push
- tag