add type hints (Python 3.11)

This commit is contained in:
scito
2022-12-29 21:29:20 +01:00
parent f933cd0d32
commit 201e6510f8
10 changed files with 272 additions and 135 deletions

View File

@@ -47,7 +47,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=200 --statistics
- name: Type checking with mypy
run: |
mypy *.py
mypy --strict *.py
if: matrix.python-version == "3.x"
- name: Test with pytest
run: pytest