mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 07:34:06 -05:00
[ruff] Implemented used-dummy-variable (RUF052) (#14611)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// See: https://github.com/python/cpython/blob/9d692841691590c25e6cf5b2250a594d3bf54825/Lib/keyword.py#L18
|
||||
pub(crate) fn is_keyword(name: &str) -> bool {
|
||||
pub fn is_keyword(name: &str) -> bool {
|
||||
matches!(
|
||||
name,
|
||||
"False"
|
||||
|
||||
Reference in New Issue
Block a user