From 61f672c652e034bdf097bcb763ff97237d7ade16 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 3 Feb 2023 17:07:45 -0800 Subject: [PATCH] ruff: Enable raise rules. Signed-off-by: Anders Kaseorg --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index d1601d197c..759b54b11b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,6 +113,7 @@ select = [ "PIE", # miscellaneous "PL", # pylint "Q", # quotes + "RSE", # raise "RUF", # Ruff "S", # security "SIM", # simplify