Skip to content

Commit ff11db4

Browse files
committed
[pyupgrade] remove argument from super
1 parent 6f8ae1b commit ff11db4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/ruff_linter/resources/test/fixtures/pyupgrade

crates/ruff_linter/resources/test/fixtures/pyupgrade/UP008.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def __init__(self, foo):
311311

312312
class Outer(Base):
313313
def __init__(self, foo):
314-
super(self).__init__(foo) # Should not trigger UP008
314+
super().__init__(foo) # Should not trigger UP008
315315

316316
class Inner(Base):
317317
def __init__(self, foo):

0 commit comments

Comments
 (0)