[FIX] restore black check
This commit is contained in:
parent
9c376bbb34
commit
fbd58837e3
|
|
@ -4,8 +4,23 @@ services:
|
||||||
- docker:18.09-dind
|
- docker:18.09-dind
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- linting
|
||||||
- tests
|
- tests
|
||||||
|
|
||||||
|
black:
|
||||||
|
stage: linting
|
||||||
|
image: python
|
||||||
|
script:
|
||||||
|
# Install pipx
|
||||||
|
- pip install --user pipx
|
||||||
|
- python -m pipx ensurepath
|
||||||
|
- source ~/.profile
|
||||||
|
|
||||||
|
# Black Check
|
||||||
|
- pipx install black
|
||||||
|
- black --version
|
||||||
|
- black --check .
|
||||||
|
|
||||||
pytest:
|
pytest:
|
||||||
stage: tests
|
stage: tests
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user