mirror of https://github.com/astral-sh/ruff
[`flake8-logging-format`] Fix invalid formatting value in docs of `logging-extra-attr-clash` (`G101`) (#14165)
This commit is contained in:
parent
794eb886e4
commit
2040e93add
|
|
@ -432,7 +432,7 @@ impl AlwaysFixableViolation for LoggingWarn {
|
||||||
///
|
///
|
||||||
/// username = "Maria"
|
/// username = "Maria"
|
||||||
///
|
///
|
||||||
/// logging.info("Something happened", extra=dict(user=username))
|
/// logging.info("Something happened", extra=dict(user_id=username))
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// ## Options
|
/// ## Options
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue