mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Fix clippy::trivially-copy-pass-by-ref (pedantic) (#862)
This commit is contained in:
parent
6b9e57fb78
commit
58949b564e
18 changed files with 53 additions and 53 deletions
|
@ -17,7 +17,7 @@ pub fn useless_object_inheritance(
|
|||
if checker.patch(check.kind.code()) {
|
||||
if let Some(fix) = pyupgrade::fixes::remove_class_def_base(
|
||||
checker.locator,
|
||||
&stmt.location,
|
||||
stmt.location,
|
||||
check.location,
|
||||
bases,
|
||||
keywords,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue