[flake8-logging-format] Fix invalid formatting value in docs of logging-extra-attr-clash (G101) (#14165)

This commit is contained in:
Simon Brugman 2024-11-07 21:00:05 +01:00 committed by GitHub
parent 794eb886e4
commit 2040e93add
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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