mirror of https://github.com/astral-sh/ruff
Remove a whitespace in B004 message (#2991)
This commit is contained in:
parent
6a369e4a30
commit
0cfe4f9c69
|
|
@ -13,7 +13,7 @@ impl Violation for UnreliableCallableCheck {
|
|||
#[derive_message_formats]
|
||||
fn message(&self) -> String {
|
||||
format!(
|
||||
" Using `hasattr(x, '__call__')` to test if x is callable is unreliable. Use \
|
||||
"Using `hasattr(x, '__call__')` to test if x is callable is unreliable. Use \
|
||||
`callable(x)` for consistent results."
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue