Add all the automatically-generated changes separately to make the
manual changes needed more obvious.
This was generated bump bumping ruff to the latest version (v0.9.3) and
running:
pre-commit run -a
Before undoing the changes to '.pre-commit-config.yaml'. The only needed
manual change was the removal of a now-unused 'typing' import.
Change-Id: I8b6ff24311baff77546089541467a87c84a1218d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>