Skip to content

Commit 2040e93

Browse files
authored
[flake8-logging-format] Fix invalid formatting value in docs of logging-extra-attr-clash (G101) (#14165)
1 parent 794eb88 commit 2040e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/rules/flake8_logging_format/violations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ impl AlwaysFixableViolation for LoggingWarn {
432432
///
433433
/// username = "Maria"
434434
///
435-
/// logging.info("Something happened", extra=dict(user=username))
435+
/// logging.info("Something happened", extra=dict(user_id=username))
436436
/// ```
437437
///
438438
/// ## Options

0 commit comments

Comments
 (0)