add type hints (Python 3.11)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user