mirror of https://github.com/astral-sh/ruff
remove unnecessary f-string formatting (#4026)
This commit is contained in:
parent
c4cda301aa
commit
f13a161ead
|
|
@ -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…
Reference in New Issue