this change adds ruff check as a pre-commit hook and ignores a number of linit error many of these will be removed in future patches As is done in other repos https://codesearch.opendev.org/?q=--unsafe-fixes&i=nope&literal=nope&files=&excludeFiles=&repos= we enable the pre-commit hook with --fix --unsafe-fixes which allows it to modify code where the intent might change but typically wont https://docs.astral.sh/ruff/linter/#fix-safety as this will be human reviewed this is safe to use in our project and allow ruff to fix more linting issues it detects. formatting is still left to autopep8 Change-Id: I46c4d462414dfa8ec4ded0defe4c3028ef14f4dd Signed-off-by: Sean Mooney <work@seanmooney.info>