Skip to content

Commit 18357fb

Browse files
committed
ruff lint options: allow percent format (for now), allow unused "resp" variable.
1 parent 92268e1 commit 18357fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ extend-exclude = [
132132
"examples/issue_*.py",
133133
"src/readthedocs-sphinx-search/",
134134
]
135-
lint.ignore = ["E402", "E501", "E713", "E731", "E741"]
135+
lint.ignore = ["E402", "E501", "E713", "E731", "E741", "UP031"]
136136
lint.select = ["E", "F", "W", "UP", "FA102", "I001"]
137+
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?)|resp)$"
137138

138139
[tool.ruff.lint.per-file-ignores]
139140
"examples/*" = ["F841"]

0 commit comments

Comments
 (0)