1
0
forked from mirrors/0ad

Specify the Python target version in ruff.toml

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.
This commit is contained in:
Dunedan
2024-09-21 20:54:24 +02:00
parent 265ed76131
commit c0232c6b5f
11 changed files with 18 additions and 22 deletions
+2
View File
@@ -1,5 +1,7 @@
line-length = 99
target-version = "py311"
[format]
line-ending = "lf"