This commit is contained in:
parent
7cd64437f4
commit
9cd549d30c
|
@ -1,30 +1,25 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
install-linters:
|
|
||||||
image: python:${PYTHON_VERSION}
|
|
||||||
commands:
|
|
||||||
- pip3 install flake8 mypy black
|
|
||||||
flake8:
|
flake8:
|
||||||
group: lint
|
group: lint
|
||||||
image: python:${PYTHON_VERSION}
|
image: python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
|
- pip3 install flake8
|
||||||
- flake8 opdb/
|
- flake8 opdb/
|
||||||
mypy:
|
mypy:
|
||||||
group: lint
|
group: lint
|
||||||
image: python:${PYTHON_VERSION}
|
image: python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
|
- pip3 install mypy
|
||||||
- mypy opdb
|
- mypy opdb
|
||||||
black:
|
black:
|
||||||
group: lint
|
group: lint
|
||||||
image: python:${PYTHON_VERSION}
|
image: pyfound/black:22.8.0
|
||||||
commands:
|
commands:
|
||||||
- black --check opdb/
|
- black --check opdb/
|
||||||
install:
|
|
||||||
image: python:${PYTHON_VERSION}
|
|
||||||
commands:
|
|
||||||
- pip3 install .
|
|
||||||
test:
|
test:
|
||||||
image: python:${PYTHON_VERSION}
|
image: python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
|
- pip3 install .
|
||||||
- pytest
|
- pytest
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in New Issue