diff --git a/pyproject.toml b/pyproject.toml index 15cda6be16b..2770757fa57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -763,6 +763,7 @@ ignore = [ "RUF003", # Comment contains ambiguous unicode character. "RUF015", # Prefer next(...) over single element slice "SIM102", # Use a single if statement instead of nested if statements + "SIM103", # Return the condition {condition} directly "SIM108", # Use ternary operator {contents} instead of if-else-block "SIM115", # Use context handler for opening files "TRY003", # Avoid specifying long messages outside the exception class