未验证 提交 21423260 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle] update ruff config with `#` style to reduce conflicts (#52019)

* [CodeStyle] update ruff config with `#` style to reduce conflicts

* revert C403-C406

* remove B905; test=document_fix
上级 2bf0d1c8
...@@ -39,7 +39,13 @@ select = [ ...@@ -39,7 +39,13 @@ select = [
"C408", "C408",
"C409", "C409",
"C410", "C410",
# "C411",
# "C413",
# "C414",
# "C415",
# "C416",
# "C417",
# Pyupgrade # Pyupgrade
"UP001", "UP001",
"UP003", "UP003",
...@@ -47,6 +53,7 @@ select = [ ...@@ -47,6 +53,7 @@ select = [
"UP005", "UP005",
"UP007", "UP007",
"UP008", "UP008",
# "UP009",
"UP010", "UP010",
"UP011", "UP011",
"UP012", "UP012",
...@@ -59,10 +66,17 @@ select = [ ...@@ -59,10 +66,17 @@ select = [
"UP021", "UP021",
"UP022", "UP022",
"UP023", "UP023",
# "UP024",
"UP025", "UP025",
"UP026", "UP026",
# "UP027",
# "UP028",
"UP029", "UP029",
# "UP030",
# "UP031",
# "UP032",
"UP033", "UP033",
# "UP034",
"UP035", "UP035",
"UP036", "UP036",
...@@ -70,9 +84,37 @@ select = [ ...@@ -70,9 +84,37 @@ select = [
"NPY001", "NPY001",
# Bugbear # Bugbear
"B002",
"B003",
# "B004",
# "B005",
# "B006",
# "B007",
# "B008",
"B009", "B009",
"B010", "B010",
"B011", "B011",
"B012",
"B013",
"B014",
# "B015",
# "B016",
# "B017",
"B018",
"B019",
# "B020",
"B021",
"B022",
# "B023",
# "B024",
"B025",
# "B026",
# "B027",
# "B028",
"B029",
# "B030",
"B032",
# "B904",
] ]
unfixable = [ unfixable = [
"NPY001" "NPY001"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册