Could we use something like [Pluggy](https://github.com/pytest-dev/pluggy) to make custom checks / behaviour modifications more flexible?