mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
* Add ruff for shared mutable defaults (B) * Apply B006, B008 on current files, except fast API * Update agenthub/SWE_agent/prompts.py Co-authored-by: Graham Neubig <neubig@gmail.com> * fix unintended behavior change * this is correct, tell Ruff to leave it alone --------- Co-authored-by: Graham Neubig <neubig@gmail.com> Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
31 lines
339 B
TOML
31 lines
339 B
TOML
exclude = [
|
|
"agenthub/monologue_agent/regression/",
|
|
]
|
|
|
|
[lint]
|
|
select = [
|
|
"E",
|
|
"W",
|
|
"F",
|
|
"I",
|
|
"Q",
|
|
"B",
|
|
]
|
|
|
|
ignore = [
|
|
"E501",
|
|
"B003",
|
|
"B007",
|
|
"B009",
|
|
"B010",
|
|
"B904",
|
|
"B018",
|
|
]
|
|
|
|
[lint.flake8-quotes]
|
|
docstring-quotes = "double"
|
|
inline-quotes = "single"
|
|
|
|
[format]
|
|
quote-style = "single"
|