cleanup: Move YAML handling logic in _include.py to _yaml.py
This patch is a small clean up.
When grokking the code to try and understand how our include directives work, we found some logic in _include.py
which should probably belong in _yaml.py
. This patch moves the relevant code.
Edited by James Ennis