Skip to content

Commit

Permalink
Enable additional rules for print and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Jan 29, 2025
1 parent a32c2a4 commit e16f34e
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,20 @@ extend-exclude = ["docs/*"]

[tool.ruff.lint]
select = [
"E4",
"E7",
"E9",
"F",
"UP",
"PT",
"I"
"E4", # pycodestyle Import
"E7", # pycodestyle Statement
"E9", # pycodestyle Runtime
"F", # pyflakes
"UP", # pyupgrde
"PT", # flake8-pytest-style
"I", # isort
"T20", # flake8-print
"LOG", # flake8-logging
]

[tool.ruff.lint.per-file-ignores]
"**/tests/*" = [
"T20", # Allow print in tests
]

[tool.pytest.ini_options]
Expand Down

0 comments on commit e16f34e

Please sign in to comment.