diff --git a/pyproject.toml b/pyproject.toml index 1aadfe935ea..700500a24e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,10 +3,13 @@ line-length = 120 target-version = "py310" [tool.ruff.lint] -select = ["F", "E", "W", "UP", "B", "C4", "FA", "NPY"] +select = ["F", "E", "W", "UP", "B", "C4", "FA", "NPY", "INP"] fixable = ["UP"] ignore = ["UP014"] +[tool.ruff.lint.per-file-ignores] +"!mantidimaging/**.py" = ["INP"] + [tool.pyright] typeCheckingMode = "basic" reportMissingImports = false