This allows us to replace bandit and flake8. It also ensures we run pyupgrade-like checks continuously to prevent adding Python < 3.10 style syntax in the future. As running the pep8 check locally ran autopep8, a number of changes were made automatically by the tools for f-strings, etc. Some manual fix-up was required. Change-Id: I9919ec0f477abe55d7eac16f2ebe3ab983ee8799 Signed-off-by: Brian Haley <haleyb.dev@gmail.com>