mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 21:34:57 +00:00
remove unnecessary f-string formatting (#4026)
This commit is contained in:
parent
c4cda301aa
commit
f13a161ead
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ use crate::rules::tryceratops::helpers::LoggerCandidateVisitor;
|
||||||
/// try:
|
/// try:
|
||||||
/// ...
|
/// ...
|
||||||
/// except ValueError as e:
|
/// except ValueError as e:
|
||||||
/// logger.exception(f"Found an error")
|
/// logger.exception("Found an error")
|
||||||
/// ```
|
/// ```
|
||||||
#[violation]
|
#[violation]
|
||||||
pub struct VerboseLogMessage;
|
pub struct VerboseLogMessage;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue