Add code style check to pipeline
This commit is contained in:
parent
1e8539dbb9
commit
3e44b21bc7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue