From 5eca095744a9455e77649ff756200eecc7223f7b Mon Sep 17 00:00:00 2001 From: Yoann Schneider <yschneider@teklia.com> Date: Fri, 3 May 2024 17:46:48 +0200 Subject: [PATCH] Comply with pyupgrade --- ruff.toml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/ruff.toml b/ruff.toml index c32039f30c..8a02c65695 100644 --- a/ruff.toml +++ b/ruff.toml @@ -25,28 +25,8 @@ select = [ "RET", # eradicate "ERA", - # useless-object-inheritance - "UP004", - # unnecessary-encode-utf8 - "UP012", - # convert-named-tuple-functional-to-class - "UP014", - # redundant-open-modes - "UP015", - # os-error-alias - "UP024", - # unpacked-list-comprehension - "UP027", - # format-literals - "UP030", - # printf-string-formatting - "UP031", - # f-string - "UP032", - # extraneous-parentheses - "UP034", - # unnecessary-class-parentheses - "UP039", + # pyupgrade + "UP", ] ignore = ["E501", "RET502", "RET503"] -- GitLab