ae7b3a0534
Switch from black to ruff similarly to keystoneauth. Change-Id: Ieee72e8598ae182d9f6cc40d7f4c20e955a69b2d
16 lines
366 B
TOML
16 lines
366 B
TOML
line-length = 79
|
|
target-version = "py38"
|
|
|
|
[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"]
|
|
|
|
[format]
|
|
quote-style = "preserve"
|
|
docstring-code-format = true
|
|
docstring-code-line-length = "dynamic"
|
|
skip-magic-trailing-comma = true
|