diff --git a/pyproject.toml b/pyproject.toml index 8d58511e99..cc77391e99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,11 +38,18 @@ exclude = [ [tool.ruff.lint] select = [ "I", # isort + "UP", # pyupgrade ] ignore = [ "ALL", + "UP008", # Use `super()` instead of `super(__class__, self)` + "UP015", # Unnecessary open mode parameters + "UP027", # Replace unpacked list comprehension with a generator expression + "UP028", # Replace `yield` over `for` loop with `yield from` + "UP030", # Use implicit references for positional format fields "UP031", # Use format specifiers instead of percent format + "UP032", # Use f-string instead of `format` call "SIM210", ]