Initialize boilerplate #1

Merged
val merged 5 commits from ci into main 2022-09-14 16:33:41 +00:00
Showing only changes of commit 9cd549d30c - Show all commits

View File

@ -1,30 +1,25 @@
pipeline:
install-linters:
image: python:${PYTHON_VERSION}
commands:
- pip3 install flake8 mypy black
flake8:
group: lint
image: python:${PYTHON_VERSION}
commands:
- pip3 install flake8
- flake8 opdb/
mypy:
group: lint
image: python:${PYTHON_VERSION}
commands:
- pip3 install mypy
- mypy opdb
black:
group: lint
image: python:${PYTHON_VERSION}
image: pyfound/black:22.8.0
commands:
- black --check opdb/
install:
image: python:${PYTHON_VERSION}
commands:
- pip3 install .
test:
image: python:${PYTHON_VERSION}
commands:
- pip3 install .
- pytest
matrix: