1
0
mirror of https://github.com/systemd/systemd synced 2025-10-05 16:03:15 +02:00

ruff: Default to python 3.7 version

For some use cases we still want python 3.7 compat so let's default
to that and only target python 3.9 in a few specific cases.
This commit is contained in:
DaanDeMeyer
2025-07-10 14:47:03 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent b6d4997683
commit 88444243b8

View File

@@ -1,6 +1,11 @@
target-version = "py39" target-version = "py37"
line-length = 109 line-length = 109
lint.select = ["E", "F", "I", "UP"] lint.select = ["E", "F", "I", "UP"]
[format] [format]
quote-style = "single" quote-style = "single"
[per-file-target-version]
"src/ukify/*.py" = "py39"
"test/**/integration-test-wrapper.py" = "py39"
"test/test-udev.py" = "py39"