From 402c2d8907e485030a7839ae920edac21966ca75 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Fri, 15 Mar 2024 08:46:19 +0100 Subject: [PATCH] Lint print statements --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 82ebe4a..0839452 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,13 +65,15 @@ select = [ "PT", # Pytest style "PTH", # Pathlib "RUF", # Ruff’s own rules + "T20", # print statements ] ignore = [ # Don’t complain about “confusables” "RUF001", "RUF002", "RUF003" ] [tool.ruff.lint.per-file-ignores] -"examples/*.py" = ["E402"] +"examples/*.py" = ["E402", "T20"] +"tests/*.py" = ["T20"] [tool.ruff.lint.isort] known-first-party = ["sklearn_ann"]