Add mypy to GitHub actions validate workflow
Some typing errors only occur on some versions of python, this should
ensure we are okay on all of them.
@@ -69,6 +69,7 @@ jobs:
run: |
black --config black.toml --check ./rdflib || true
flake8 --exit-zero rdflib
+ mypy --show-error-context --show-error-codes rdflib
if [ "${{ matrix.os }}" == "windows-latest" ]
then
pytest -ra --cov
