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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;