From 822536d8297b1928e115b61e44ca59e5f90a8527 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 2 Dec 2024 14:26:02 +0800 Subject: [PATCH] Enable ruff's TRY (tryceratops) rules --- 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