Skip to content

Commit 32df309

Browse files
authored
chore: enable ruff G004 to keep f-strings out of logging calls (#1206)
Removes Ruff's `G004` from the ignore list, so logging calls with f-strings fail lint. The client already passes log values as `%`-style arguments everywhere, so no code changes are needed. The matching SDK change is in apify/apify-sdk-python. *✍️ Drafted by Claude Code*
1 parent 1913925 commit 32df309

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ ignore = [
105105
"D213", # Multi-line docstring summary should start at the second line
106106
"D413", # Missing blank line after last section
107107
"EM", # flake8-errmsg
108-
"G004", # Logging statement uses f-string
109108
"ISC001", # This rule may cause conflicts when used with the formatter
110109
"FIX", # flake8-fixme
111110
"PLR0911", # Too many return statements

0 commit comments

Comments
 (0)