We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d878dd commit e6868d5Copy full SHA for e6868d5
tests/functional/i/invalid/invalid_unary_operand_type.py
@@ -49,3 +49,10 @@ class A:
49
invert_instance = ~A() # [invalid-unary-operand-type]
50
invert_module = ~collections # [invalid-unary-operand-type]
51
invert_float = ~2.0 # [invalid-unary-operand-type]
52
+
53
54
+class NoArgumentSuper:
55
+ def __init__(self):
56
+ """https://github.com/pylint-dev/pylint/issues/8554"""
57
+ if not isinstance(super(), float):
58
+ pass
0 commit comments