Skip to content

Commit f13a161

Browse files
authored
remove unnecessary f-string formatting (#4026)
1 parent c4cda30 commit f13a161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff/src/rules/tryceratops/rules/verbose_log_message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use crate::rules::tryceratops::helpers::LoggerCandidateVisitor;
3030
/// try:
3131
/// ...
3232
/// except ValueError as e:
33-
/// logger.exception(f"Found an error")
33+
/// logger.exception("Found an error")
3434
/// ```
3535
#[violation]
3636
pub struct VerboseLogMessage;

0 commit comments

Comments
 (0)