diff --git a/ruff.toml b/ruff.toml index 5474871e461..791cfdc0a5a 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,3 +1,4 @@ +[lint] ignore = [ # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", @@ -16,20 +17,24 @@ ignore = [ "ISC002", ] extend-select = [ - "UP", # pyupgrade + "UP", # pyupgrade ] extend-ignore = [ - "UP015", # redundant-open-modes, explicit is prefered - "UP030", # temporarily disabled - "UP031", # temporarily disabled - "UP032", # temporarily disabled - "UP036", # temporarily disabled + "UP015", # redundant-open-modes, explicit is prefered + "UP030", # temporarily disabled + "UP031", # temporarily disabled + "UP032", # temporarily disabled + "UP036", # temporarily disabled ] extend-exclude = [ - "**/_vendor", - "setuptools/_distutils", + "**/_vendor", + "setuptools/_distutils", ] [format] +extend-exclude = [ + "**/_vendor", + "setuptools/_distutils", +] # https://docs.astral.sh/ruff/settings/#format-quote-style quote-style = "preserve"