ruff lint options: allow percent format (for now), allow unused "resp" variable.

This commit is contained in:
Lars Holmberg 2025-03-14 20:49:11 +01:00
parent 92268e16d5
commit 18357fb6dd
1 changed files with 2 additions and 1 deletions

View File

@ -132,8 +132,9 @@ extend-exclude = [
"examples/issue_*.py",
"src/readthedocs-sphinx-search/",
]
lint.ignore = ["E402", "E501", "E713", "E731", "E741"]
lint.ignore = ["E402", "E501", "E713", "E731", "E741", "UP031"]
lint.select = ["E", "F", "W", "UP", "FA102", "I001"]
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?)|resp)$"
[tool.ruff.lint.per-file-ignores]
"examples/*" = ["F841"]