Skip to content

Commit

Permalink
build: Add logging lint checks to ruff (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArndt authored Dec 12, 2024
1 parent 809f97c commit 24fabba
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,19 @@ log_cli_level = "INFO"
line-length = 99

[tool.ruff.lint]
select = ["E", "W", "F", "C", "N", "D", "I001"]
select = [
"E",
"W",
"F",
"C",
"N",
"D",
"I001",
"G001", # Logging statement uses str.format
"G002", # Logging statement uses %
"G003", # Logging statement uses +
"G004", # Logging statement uses an f-string
]
extend-ignore = [
"D203",
"D204",
Expand Down

0 comments on commit 24fabba

Please sign in to comment.