From ca871a60b446eaf2ace96bc75e55566cfb39f5f5 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:44:19 +0200 Subject: [PATCH] STY: Enforce ruff/flake8-pytest-style rules (PT) --- pyproject.toml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ff5168f9c..44a35a57f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,8 +115,19 @@ line-length = 99 exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"] [tool.ruff.lint] -select = ["F", "I", "Q"] +select = [ + "F", + "I", + "PT", + "Q", +] ignore = [ + "PT004", + "PT007", + "PT011", + "PT012", + "PT017", + "PT018", # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111",