Remove a whitespace in B004 message (#2991)

This commit is contained in:
Nyakku Shigure 2023-02-18 01:37:08 +08:00 committed by GitHub
parent 6a369e4a30
commit 0cfe4f9c69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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."
) )
} }