mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:51:25 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue