I haven't got far into working out exactly how I'll make it happen, but I do believe it'll be easier if YamlTestItem is broken up a bit.
This PR is a refactor do do that. It should be a pure refactor and I believe the only real change is I do move execute_extension_hook to before the execution_path is created, as it currently does not know about that folder.
I want to make sure I'm not gonna be treading on any toes before going too far down this path!
Hello,
I have some time to make https://github.com/typeddjango/pytest-mypy-plugins/issues/144 happen (and the need for this functionality).
I haven't got far into working out exactly how I'll make it happen, but I do believe it'll be easier if
YamlTestItem
is broken up a bit.This PR is a refactor do do that. It should be a pure refactor and I believe the only real change is I do move
execute_extension_hook
to before theexecution_path
is created, as it currently does not know about that folder.I want to make sure I'm not gonna be treading on any toes before going too far down this path!
This PR is best seen one commit at a time.