From 2dc1cf437b037f01166194c087520049b0210f79 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:47:06 +0200 Subject: [PATCH] STY: Enforce ruff/flake8-raise rules (RSE) --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ff5168f9c..46a821e55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,7 +115,12 @@ line-length = 99 exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"] [tool.ruff.lint] -select = ["F", "I", "Q"] +select = [ + "F", + "I", + "Q", + "RSE", +] ignore = [ # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191",