This removes pytest-mypy because of the issue with test discovery in the vscode extension. To make up for it, mypy has bee added to CI.
There is a chance the CI tests will fail because of either the run: pip install .[dev] making mypy . fail, or the test_version test causing problems with if we do run: pip install -r dev-requirements.txt. So this will need to be resolved either way.
Fixes #135
Type of change
[x] Documentation (non-breaking change that adds or improves the documentation)
[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (non-breaking, back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)
[x] Breaking change (whatever its nature)
Key checklist
[ ] All tests pass (eg. python -m pytest)
[ ] The documentation builds and looks OK (eg. python -m sphinx -b html docs docs/build)
[ ] Pre-commit hooks run successfully (eg. pre-commit run --all-files)
Further checks
[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added or an issue has been opened to tackle that in the future. (Indicate issue here: # (issue))
Description
This removes
pytest-mypy
because of the issue with test discovery in the vscode extension. To make up for it, mypy has bee added to CI.There is a chance the CI tests will fail because of either the
run: pip install .[dev]
makingmypy .
fail, or thetest_version
test causing problems with if we dorun: pip install -r dev-requirements.txt
. So this will need to be resolved either way.Fixes #135
Type of change
Key checklist
python -m pytest
)python -m sphinx -b html docs docs/build
)pre-commit run --all-files
)Further checks