pontoon/ruff.toml

35 строки
662 B
TOML

line-length = 88
indent-width = 4
# Assume Python 3.11
target-version = "py311"
[lint]
ignore = [
"E501", # Line too long
]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"W", # pycodestyle warnings
]
[lint.isort]
combine-as-imports = true
lines-after-imports = 2
lines-between-types = 1
section-order = ["future", "standard-library", "third-party", "django", "first-party", "local-folder"]
[lint.isort.sections]
"django" = ["django"]
[format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "lf"
docstring-code-format = false
docstring-code-line-length = "dynamic"