mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
b6d4997683
commit
88444243b8
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user