This commit is contained in:
parent
7c9a3b5b50
commit
d576b12586
|
@ -4,23 +4,23 @@ pipeline:
|
||||||
image: python:${PYTHON_VERSION}
|
image: python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- pip3 install flake8
|
- pip3 install flake8
|
||||||
- flake8 opdb/
|
- make flake8
|
||||||
mypy:
|
mypy:
|
||||||
group: lint
|
group: lint
|
||||||
image: python:${PYTHON_VERSION}
|
image: python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- pip3 install mypy
|
- pip3 install mypy
|
||||||
- mypy opdb
|
- make mypy
|
||||||
black:
|
black:
|
||||||
group: lint
|
group: lint
|
||||||
image: pyfound/black:22.8.0
|
image: pyfound/black:22.8.0
|
||||||
commands:
|
commands:
|
||||||
- black --check opdb/
|
- make black-check
|
||||||
test:
|
test:
|
||||||
image: python:${PYTHON_VERSION}
|
image: python:${PYTHON_VERSION}
|
||||||
commands:
|
commands:
|
||||||
- pip3 install . pytest
|
- pip3 install . pytest
|
||||||
- pytest
|
- make pytest
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
PYTHON_VERSION:
|
PYTHON_VERSION:
|
||||||
|
|
Loading…
Reference in New Issue