remove unnecessary f-string formatting (#4026)

This commit is contained in:
Francesco Nuzzo
2023-04-19 20:14:33 +02:00
committed by GitHub
parent c4cda301aa
commit f13a161ead

View File

@@ -30,7 +30,7 @@ use crate::rules::tryceratops::helpers::LoggerCandidateVisitor;
/// try:
/// ...
/// except ValueError as e:
/// logger.exception(f"Found an error")
/// logger.exception("Found an error")
/// ```
#[violation]
pub struct VerboseLogMessage;