Skip to content

Commit

Permalink
Lint print statements (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep authored Mar 15, 2024
1 parent c22140f commit 16afb01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 16afb01

Please sign in to comment.