We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9147e0 commit 1960ad9Copy full SHA for 1960ad9
mypy/checker.py
@@ -2750,7 +2750,8 @@ def check_multiple_inheritance(self, typ: TypeInfo) -> None:
2750
for i, base in enumerate(bases):
2751
# Attributes defined in both the type and base are skipped.
2752
# Normal checks for attribute compatibility should catch any problems elsewhere.
2753
- non_overridden_attrs = all_names[i] - typ.names.keys()
+ # Sort for consistent messages order.
2754
+ non_overridden_attrs = sorted(all_names[i] - typ.names.keys())
2755
for name in non_overridden_attrs:
2756
if is_private(name):
2757
continue
0 commit comments