From 7512c2a1a820b65d2c1e2b071dcea602288cd397 Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Mon, 7 Aug 2023 11:18:15 +0200 Subject: [PATCH] Apply two new ruff linter rules --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d2bcc8f..b8a1c32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,6 @@ ignore = [ "D401", # TODO: many strings need rephrasing "T201", # WONTFIX: using print() (maybe add noqa) "TRY003", # WONTFIX: Avoid specifying long messages outside the exception class - "TRY200", # TODO: Use `raise from` to specify exception cause - "B904", # TODO: Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling "PLR0913", # WONTFIX: Too many arguments to function call "PLR2004", # TODO: Magic value used in comparison, consider replacing 201 with a constant variable "N818" # TODO: exception naming