chore: fix indention violations by applying E111 to E117 ruff rules (#4925)

This commit is contained in:
Bowen Liang
2024-06-05 14:05:15 +08:00
committed by GitHub
parent 6b6afb7708
commit f32b440c4a
14 changed files with 73 additions and 61 deletions

View File

@@ -13,8 +13,18 @@ select = [
"F", # pyflakes rules
"I", # isort rules
"UP", # pyupgrade rules
"E101", # mixed-spaces-and-tabs
"E111", # indentation-with-invalid-multiple
"E112", # no-indented-block
"E113", # unexpected-indentation
"E115", # no-indented-block-comment
"E116", # unexpected-indentation-comment
"E117", # over-indented
"RUF019", # unnecessary-key-check
"RUF100", # unused-noqa
"RUF101", # redirected-noqa
"S506", # unsafe-yaml-load
"W191", # tab-indentation
"W605", # invalid-escape-sequence
]
ignore = [