diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 00000000000..f6f1d4126c4 --- /dev/null +++ b/ruff.toml @@ -0,0 +1,14 @@ +extend-select = [ + "UP", # pyupgrade +] +extend-ignore = [ + "UP015", # redundant-open-modes, explicit is prefered + "UP030", # temporarily disabled + "UP031", # temporarily disabled + "UP032", # temporarily disabled + "UP036", # temporarily disabled +] +extend-exclude = [ + "**/_vendor", + "setuptools/_distutils", +]