From 80d42cd68c5b1e36e7168ae2d039790cea1bad9b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 30 Jun 2024 22:49:13 +0200 Subject: [PATCH] Ignore TRY003 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 1ccd1e7..075ab22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,7 @@ ignore = [ "PGH003", # Using specific rule codes in type ignores "E731", # Don't asign a lambda expression, use a def "S311", # Use `secrets` for random number generation, not `random` + "TRY003", # Avoid specifying long messages outside the exception class # Redundant rules with ruff-format: "E111", # Indentation of a non-multiple of 4 spaces