Skip to content

Commit

Permalink
Revert empty slot test
Browse files Browse the repository at this point in the history
Also disable pyupgrade on that file.

Signed-off-by: Hynek Schlawack <hs@ox.cx>
  • Loading branch information
hynek committed Mar 19, 2022
1 parent 5c920cf commit b093bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ repos:
hooks:
- id: pyupgrade
args: [--py3-plus, --keep-percent-format]
exclude: "tests/test_slots.py"

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
Expand Down
2 changes: 1 addition & 1 deletion tests/test_slots.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ class C:
field = attr.ib()

def f(self, a):
super().__init__()
super(C, self).__init__()

C(field=1)

Expand Down

0 comments on commit b093bc7

Please sign in to comment.