kitware-resonant / cookiecutter-resonant

Apache License 2.0
11 stars 6 forks source link

Fix `mypy` configuration in `tox.ini` #194

Open mvandenburgh opened 2 years ago

mvandenburgh commented 2 years ago

Currently, running tox -e type results in a cryptic error about celery not being found. This happens because dependencies aren't being installed in the tox virtual env, since skip_install is set to true. mypy needs dependencies to be installed so that it can get type info from them.

There's a bunch of other errors that are preventing mypy from being adopted into girder 4 projects, but this change will at least allow it to run and report a more sane error.