mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:18 +00:00
Remove a whitespace in B004 message (#2991)
This commit is contained in:
parent
6a369e4a30
commit
0cfe4f9c69
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ impl Violation for UnreliableCallableCheck {
|
||||||
#[derive_message_formats]
|
#[derive_message_formats]
|
||||||
fn message(&self) -> String {
|
fn message(&self) -> String {
|
||||||
format!(
|
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."
|
`callable(x)` for consistent results."
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue