Skip to content

docs: update docs

docs: update docs #39

Workflow file for this run

name: tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.9", "3.10" ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install poetry
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --select=E9,F63,F7,F82
# exit-zero treats all errors as warnings.
poetry run flake8 . --exit-zero --max-complexity=10
- name: Check with mypy
run: |
poetry run mypy .
- name: Test with pytest
run: |
poetry run pytest