From a050e1cb9050d3f058ac97358effba74af4cbccd Mon Sep 17 00:00:00 2001 From: Toon Verstraelen Date: Fri, 24 May 2024 09:26:02 +0200 Subject: [PATCH] Enable tryceratops rules --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 11e3a3c3..e01234e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ target-version = "py39" [tool.ruff.lint] select = [ "E", "W", "F", "I", "N", "UP", "B", "BLE", "A", "EXE", "ISC", "ICN", "PIE", "PYI", "PT", - "PL", "RUF", "C4", "RSE", "RET", "SLF", "NPY", "SIM", "PERF" + "PL", "RUF", "C4", "RSE", "RET", "SLF", "NPY", "SIM", "PERF", "TRY" ] ignore = [ "PLR0904", # https://docs.astral.sh/ruff/rules/too-many-public-methods/ @@ -69,4 +69,5 @@ ignore = [ "PLR0917", # https://docs.astral.sh/ruff/rules/too-many-positional/ "PLR2004", # https://docs.astral.sh/ruff/rules/magic-value-comparison/ "PT011", # https://docs.astral.sh/ruff/rules/pytest-raises-too-broad/ + "TRY003", # https://docs.astral.sh/ruff/rules/raise-vanilla-args/ ]