This repository has been archived on 2025-12-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
librarian/ruff.toml

40 lines
789 B
TOML

[tool.ruff]
line-length = 160
target-version = "py312"
select = [
"ALL", # include all the rules, including new ones
]
ignore = [
#### modules
"ANN", # flake8-annotations
"COM", # flake8-commas
"C90", # mccabe complexity
"DJ", # django
"EXE", # flake8-executable
"T10", # debugger
"TID", # flake8-tidy-imports
#### specific rules
# ignore missing docs for classes, modules, methods and etc
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
# ignore one-line doc string
"D200",
"D205",
"D212",
"D400",
"D401",
"D415",
"E402", # module import not at top of file
"E501", # line too long
"TD002", # missing todo author
"TD003", # missing todo link
]