All the Blender Institute Python webprojects are moving to Poetry; it works better than Pipenv in various regards.
This way it's easy to run both the tests and mypy.