initial commit

This commit is contained in:
Marty Oehme 2023-09-12 11:00:19 +02:00
commit 87a3ffdfaf
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
8 changed files with 1218 additions and 0 deletions

16
.woodpecker/lint.yml Normal file
View file

@ -0,0 +1,16 @@
pipeline:
lint_ruff:
image: python
commands:
- pip install ruff
- python --version && poetry --version && ruff --version
- echo "----------------- running ruff lint ------------------"
- ruff check .
lint_black:
image: python
commands:
- pip install black
- python --version && poetry --version && black --version
- echo "----------------- running black lint ----------------"
- black --check .

View file

@ -0,0 +1,9 @@
pipeline:
pyright:
image: nikolaik/python-nodejs
commands:
- npm install --global pyright
- poetry install
- python --version && poetry --version && pyright --version
- echo "------------- running pyright typecheck -------------"
- poetry run pyright

10
.woodpecker/test.yml Normal file
View file

@ -0,0 +1,10 @@
branches: master
pipeline:
pytest:
image: ghcr.io/withlogicco/poetry:1.5.1
commands:
- poetry install
- python --version && poetry --version
- echo "------------- running pytest -------------"
- poetry run pytest