To run commands like pytest or black you have to run them using the virtual environment which contains the dependencies and Beanie. You can do this in two ways, you may run poetry shell to activate the environment for the current shell, or you can run them in a one-off fashion as such poetry run pytest.
pyproject.toml
includes a section fortool.black
but does not appear to listblack
as adev-dependency
?I assume this is by mistake via the contributing doc:
Edit: noticed missing mypy too