There's an example conftest (#11), but it would be possible to ship a pytest entrypoint plugin (via e.g. a pytest_pyannotate module), that could be used via pytest --pyannotate then automatically.
I'd be happy to add it, but wanted to ask for feedback first.
Just for reference: Instagram/MonkeyType#25