ImperialCollegeLondon / python-template

A template for Python projects using cookiecutter
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Tests not discoverable due in VS Code due to `--mypy` flag #135

Closed alexdewar closed 3 weeks ago

alexdewar commented 3 weeks ago

Given that a lot of devs use VS Code, being able to use the built-in test runner is a useful QoL thing.

We can possibly fix this in the same way @AdrianDAlessandro has done, by running mypy directly as a CI job instead and dropping the pytest-mypy plugin: https://github.com/ImperialCollegeLondon/MEDUSA/pull/180

Note that in any case we are still running mypy as a pre-commit hook.