nyacme/ruff.toml

24 lines
517 B
TOML

line-length = 120
target-version = "py310"
# https://docs.astral.sh/ruff/rules/
[lint]
extend-select = [
"Q", # quotes
"PT", # pytest
"I", # isort
"F", # pyflakes
"E", # pycodestyle (errors)
"W", # pycodestyle (warnings)
"UP", # pyupgrade
"ISC", # implicit string concat
"T20", # no print/pprint
"G001", # no str.format in logging
"C901", # check for complexity
"COM812", # trailing commas
]
[lint.flake8-quotes]
inline-quotes = "single"
docstring-quotes = "single"