From dfba735fce3a2fe3cc27268914f217323f11f57f Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Tue, 3 Sep 2024 08:56:42 -0400 Subject: [PATCH] Add flake8-print to linter (#204) --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 51c711e5..1bd3ad28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ extend-select = [ "I", # isort "PGH", # pygrep-hooks "RUF", # Ruff-specific + "T20", # flake8-print ] # Note: These settings are picked to match meta-internal linting @@ -30,3 +31,7 @@ case-sensitive = false combine-as-imports = true default-section = "first-party" order-by-type = false + +[tool.ruff.lint.per-file-ignores] +"tests/**" = ["T20"] +"examples/**" = ["T20"]