Copy-paste current implementation of core LoadImage, but use a string
input providing an entity reference instead of a file upload, and
retrieve input file path from the OpenAssetIO manager.
Due to the mix-and-match by ComfyUI of class vs. instance methods, plus
no way to inject context, use a singleton class to represent the
OpenAssetIO host application.
Signed-off-by: David Feltell <david.feltell@foundry.com>
Set up ruff to enforce a 99 char line limit, mirroring other OpenAssetIO
projects.
Configure yml with 2-space tabs, mirroring other OpenAssetIO projects
(and the ComfyUI cookiecutter project's defaults).
Bulk reformat using PyCharm configured to use ruff - i.e. Python files
are reformatted using ruff, whilst other files are reformatted
according to .editorconfig and/or PyCharm defaults.
Signed-off-by: David Feltell <david.feltell@foundry.com>