From b5bda71aa581c10d30bea7018f66e46b25edf16a 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2840119c4..9ad6e6547 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -118,10 +118,17 @@ exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"] select = [ "F", "I", + "PT", "Q", "UP", ] ignore = [ + "PT004", + "PT007", + "PT011", + "PT012", + "PT017", + "PT018", # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111",