nyacme/ruff.toml

25 lines
517 B
TOML
Raw Normal View History

2024-04-07 09:25:32 +00:00
line-length = 120
target-version = "py310"
2024-04-07 09:25:32 +00:00
# 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
2024-07-27 18:03:34 +00:00
"COM812", # trailing commas
2024-04-07 09:25:32 +00:00
]
[lint.flake8-quotes]
inline-quotes = "single"
docstring-quotes = "single"