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