We should probably add some kind of Python linting (I'm a fan of Ruff) to CI/pre-commit to help with these kinds of things in the future. _Originally posted by @jordancarlin in https://github.com/riscv-software-src/riscv-unified-db/pull/1231#pullrequestreview-3429000621_