Skip to content

Commit 16afb01

Browse files
authored
Lint print statements (#28)
1 parent c22140f commit 16afb01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ select = [
6565
"PT", # Pytest style
6666
"PTH", # Pathlib
6767
"RUF", # Ruff’s own rules
68+
"T20", # print statements
6869
]
6970
ignore = [
7071
# Don’t complain about “confusables”
7172
"RUF001", "RUF002", "RUF003"
7273
]
7374
[tool.ruff.lint.per-file-ignores]
74-
"examples/*.py" = ["E402"]
75+
"examples/*.py" = ["E402", "T20"]
76+
"tests/*.py" = ["T20"]
7577
[tool.ruff.lint.isort]
7678
known-first-party = ["sklearn_ann"]
7779

0 commit comments

Comments
 (0)