2c6f13e1f1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Change-Id: I185e98452ef71cb2f7004eb8fd263c2b875edf77
16 lines
359 B
TOML
16 lines
359 B
TOML
[tool.ruff]
|
|
line-length = 79
|
|
target-version = "py38"
|
|
|
|
[tool.ruff.lint]
|
|
# enable the following rule classes:
|
|
#
|
|
# C4: https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4
|
|
# UP: https://docs.astral.sh/ruff/rules/#pyupgrade-up
|
|
select = ["C4", "UP"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "preserve"
|
|
docstring-code-format = true
|
|
skip-magic-trailing-comma = true
|