mirror of https://github.com/locustio/locust.git
ruff lint options: allow percent format (for now), allow unused "resp" variable.
This commit is contained in:
parent
92268e16d5
commit
18357fb6dd
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue