From 9b53043dc41847a7c241658f4c681cb191decd4e Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 3 Dec 2024 05:45:05 +0800 Subject: [PATCH] Enable ruff's TRY (tryceratops) rules (#3665) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9959aa4176a..81a9618f959 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,7 @@ select = [ "T20", # flake8-print "TC", # flake8-type-checking "TID", # flake8-tidy-imports + "TRY", # tryceratops "UP", # pyupgrade "W", # pycodestyle warnings "YTT", # flake8-2020