diff --git a/pyproject.toml b/pyproject.toml index ff5168f9c..f482c5e3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,8 +115,14 @@ line-length = 99 exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"] [tool.ruff.lint] -select = ["F", "I", "Q"] +select = [ + "F", + "I", + "PIE", + "Q", +] ignore = [ + "PIE790", # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111",