diff --git a/api/pyproject.toml b/api/pyproject.toml index ea10985111d165..3d100ebc581632 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -48,15 +48,15 @@ ignore = [ "B905", # zip-without-explicit-strict "N806", # non-lowercase-variable-in-function "N815", # mixed-case-variable-in-class-scope - "SIM102", - "SIM103", - "SIM105", - "SIM107", - "SIM108", - "SIM113", - "SIM117", - "SIM210", - "SIM300", + "SIM102", # collapsible-if + "SIM103", # needless-bool + "SIM105", # suppressible-exception + "SIM107", # return-in-try-except-finally + "SIM108", # if-else-block-instead-of-if-exp + "SIM113", # eumerate-for-loop + "SIM117", # multiple-with-statements + "SIM210", # if-expr-with-true-false + "SIM300", # yoda-conditions ] [tool.ruff.lint.per-file-ignores]