Skip to content

Commit c1ed1fa

Browse files
committed
Revert empty slot test
Also disable pyupgrade on that file. Signed-off-by: Hynek Schlawack <hs@ox.cx>
1 parent a703517 commit c1ed1fa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ repos:
1313
hooks:
1414
- id: pyupgrade
1515
args: [--py3-plus, --keep-percent-format]
16+
exclude: "tests/test_slots.py"
1617

1718
- repo: https://github.com/PyCQA/isort
1819
rev: 5.10.1

tests/test_slots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class C:
627627
field = attr.ib()
628628

629629
def f(self, a):
630-
super().__init__()
630+
super(C, self).__init__()
631631

632632
C(field=1)
633633

0 commit comments

Comments
 (0)