Well, mostly. We still keep our own flake8 hooks and the hacking hooks
enabled. Everything else can be handled by ruff.
Doing this enables a couple of hacking checks that were previously
unaddressed. It also highlights a few cases that flake8 missed. Both are
addressed.
Change-Id: I642458eacf5bf78fb041f3d8711486fe55441f47
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>