mirror of https://github.com/astral-sh/ruff
Fix an argument name in B905 description (#12588)
The description of `zip-without-explicit-strict` erroneously mentions a non-existing `check` argument for `zip()`.
This commit is contained in:
parent
18f87b9497
commit
ee103ffb25
|
|
@ -32,7 +32,7 @@ use crate::fix::edits::add_argument;
|
||||||
///
|
///
|
||||||
/// ## Fix safety
|
/// ## Fix safety
|
||||||
/// This rule's fix is marked as unsafe for `zip` calls that contain
|
/// This rule's fix is marked as unsafe for `zip` calls that contain
|
||||||
/// `**kwargs`, as adding a `check` keyword argument to such a call may lead
|
/// `**kwargs`, as adding a `strict` keyword argument to such a call may lead
|
||||||
/// to a duplicate keyword argument error.
|
/// to a duplicate keyword argument error.
|
||||||
///
|
///
|
||||||
/// ## References
|
/// ## References
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue