From d6aa5230e65d4caf8f4839b9fbc569228e54539f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 13 Jan 2024 11:59:50 +0100 Subject: [PATCH] build: enable tryceratops rules in ruff Ignore this rule for now: TRY003 Avoid specifying long messages outside the exception class --- .ruff.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ruff.toml b/.ruff.toml index aa08568d..78ea3ff6 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -1,5 +1,6 @@ [lint] -extend-select = ["B", "I", "UP"] +extend-select = ["B", "I", "TRY", "UP"] +ignore = ["TRY003"] [lint.isort] known-third-party = ["tests"]