Add type annotations and mypy CI job

This commit is contained in:
Thomas Holder
2023-09-21 20:32:23 +02:00
parent ee89e36f58
commit 57d7c6721b
14 changed files with 233 additions and 149 deletions

View File

@@ -56,3 +56,13 @@ jobs:
with:
name: coverage-html
path: htmlcov/*
static_type_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.12"
- run: python -m pip install mypy types-setuptools
- run: mypy