From 2040e93add18afe449576258f861599e0c8e74b9 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Thu, 7 Nov 2024 21:00:05 +0100 Subject: [PATCH] [`flake8-logging-format`] Fix invalid formatting value in docs of `logging-extra-attr-clash` (`G101`) (#14165) --- .../ruff_linter/src/rules/flake8_logging_format/violations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/flake8_logging_format/violations.rs b/crates/ruff_linter/src/rules/flake8_logging_format/violations.rs index 576e0dd9880417..d11accc41cd84b 100644 --- a/crates/ruff_linter/src/rules/flake8_logging_format/violations.rs +++ b/crates/ruff_linter/src/rules/flake8_logging_format/violations.rs @@ -432,7 +432,7 @@ impl AlwaysFixableViolation for LoggingWarn { /// /// username = "Maria" /// -/// logging.info("Something happened", extra=dict(user=username)) +/// logging.info("Something happened", extra=dict(user_id=username)) /// ``` /// /// ## Options