You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not handle case where parent class derives from Any.
4
-
"""
1
+
conformant = "Pass"
5
2
output = """
6
3
classes_override.py:53: error: Method "method3" is marked as an override, but no base method was found with this name [misc]
7
4
classes_override.py:56: error: Method "method4" is marked as an override, but no base method was found with this name [misc]
8
5
classes_override.py:79: error: Method "static_method1" is marked as an override, but no base method was found with this name [misc]
9
6
classes_override.py:84: error: Method "class_method1" is marked as an override, but no base method was found with this name [misc]
10
7
classes_override.py:89: error: Method "property1" is marked as an override, but no base method was found with this name [misc]
11
-
classes_override.py:101: error: Method "method1" is marked as an override, but no base method was found with this name [misc]
12
8
"""
13
-
conformance_automated = "Fail"
9
+
conformance_automated = "Pass"
14
10
errors_diff = """
15
-
Line 101: Unexpected errors ['classes_override.py:101: error: Method "method1" is marked as an override, but no base method was found with this name [misc]']
Line 47: Unexpected errors ['overloads_definitions.py:47: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]']
10
8
"""
11
9
output = """
12
10
overloads_definitions.py:15: error: Single overload definition, multiple required [misc]
13
11
overloads_definitions.py:27: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
14
-
overloads_definitions.py:47: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
15
12
overloads_definitions.py:58: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
16
13
overloads_definitions.py:71: error: Overload does not consistently use the "@staticmethod" decorator on all function signatures. [misc]
17
14
overloads_definitions.py:84: error: Overload does not consistently use the "@classmethod" decorator on all function signatures. [misc]
0 commit comments