forked from mirrors/0ad
c0232c6b5f
This ensures the same Python target version used for `ruff format` is used for `ruff check` as well. It also allows ruff, even if it's not run through pre-commit, to use the correct target Python version.