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
* main: (29 commits)
Updated conformance test results for the latest versions of type chec… (#1904)
Add content from typeshed/CONTRIBUTING.md (#1882)
Fix markup in generics specification (#1900)
Specs clarification: Forbid `ClassVar` and `Final` within `TypedDict` body (#1890)
Remove paragraph mentioning minor edits through the mailing list (#1891)
Writing Stubs: Add "Overloads and Flags" section (#1894)
Fix a typo (#1893)
Update conformance tests for recent generics spec change (#1892)
Clarify some behavior around user-defined generic classes (#1879)
Modernizing guide: Mention TypeGuard/TypeIs (#1887)
Tools can perform "some" refactorings (#1886)
Mention use of cast in enum type stub example (#1877)
Update conformance results after new pyre release (#1878)
Add a label for typed dictionaries class-based syntax (#1873)
Add missing return type to generic_syntax_infer_variance.py (#1871)
Updated conformance results for mypy 1.13 and pyright 1.1.386 (#1870)
Modernizing guide: also mention `com2ann` (#1869)
Suggest `pyupgrade` or `ruff` for modernizing superseded typing features (#1868)
Updated conformance results for pyright 1.1.385. (#1867)
Updated conformance results for mypy 1.12. (#1866)
...
directives_deprecated.py:18: error: class _directives_deprecated_library.Ham is deprecated: Use Spam instead [deprecated]
7
+
directives_deprecated.py:24: error: function _directives_deprecated_library.norwegian_blue is deprecated: It is pining for the fjords [deprecated]
8
+
directives_deprecated.py:25: error: function _directives_deprecated_library.norwegian_blue is deprecated: It is pining for the fjords [deprecated]
9
+
directives_deprecated.py:30: error: overload def (x: builtins.int) -> builtins.str of function _directives_deprecated_library.foo is deprecated: Only str will be allowed [deprecated]
10
+
directives_deprecated.py:41: error: function _directives_deprecated_library.Spam.__add__ is deprecated: There is enough spam in the world [deprecated]
11
+
directives_deprecated.py:42: error: function _directives_deprecated_library.Spam.__add__ is deprecated: There is enough spam in the world [deprecated]
12
+
directives_deprecated.py:44: error: function _directives_deprecated_library.Spam.greasy is deprecated: All spam will be equally greasy [deprecated]
13
+
directives_deprecated.py:47: error: function _directives_deprecated_library.Spam.shape is deprecated: Shapes are becoming immutable [deprecated]
14
+
directives_deprecated.py:48: error: function _directives_deprecated_library.Spam.shape is deprecated: Shapes are becoming immutable [deprecated]
15
+
directives_deprecated.py:58: error: function directives_deprecated.Invocable.__call__ is deprecated: Deprecated [deprecated]
16
+
directives_deprecated.py:69: error: function directives_deprecated.lorem is deprecated: Deprecated [deprecated]
17
+
directives_deprecated.py:98: error: function directives_deprecated.SupportsFoo1.foo is deprecated: Deprecated [deprecated]
Copy file name to clipboardExpand all lines: conformance/results/mypy/generics_base_class.toml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
-
conformant = "Pass"
1
+
conformant = "Partial"
2
+
notes = """
3
+
Does not detect inconsistent type variable ordering.
4
+
"""
2
5
output = """
3
6
generics_base_class.py:26: error: Argument 1 to "takes_dict_incorrect" has incompatible type "SymbolTable"; expected "dict[str, list[object]]" [arg-type]
4
7
generics_base_class.py:29: error: Variable "typing.Generic" is not valid as a type [valid-type]
@@ -9,6 +12,7 @@ generics_base_class.py:49: error: "LinkedList" expects 1 type argument, but 2 gi
9
12
generics_base_class.py:61: error: "MyDict" expects 1 type argument, but 2 given [type-arg]
10
13
generics_base_class.py:68: error: Duplicate type variables in Generic[...] or Protocol[...] [misc]
0 commit comments