KotlinIsland / basedtypeshed

Collection of library stubs for Python, with static types
Other
3 stars 0 forks source link

add `_GenericAlias` stub #3

Closed DetachHead closed 2 years ago

github-actions[bot] commented 2 years ago

Diff from mypy_primer, showing the effect of this PR on open source code:

pandera (https://github.com/pandera-dev/pandera)
+ pandera/typing/pandas.py:13: error: Cannot assign to a type  [misc]
+ pandera/typing/pandas.py:13: error: Incompatible types in assignment (expression has type "None", variable has type "Type[_GenericAlias]")  [assignment]

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/util/inspect.py:433: error: unused "type: ignore" comment

pydantic (https://github.com/samuelcolvin/pydantic)
+ pydantic/typing.py:30: error: unused "type: ignore" comment
github-actions[bot] commented 2 years ago

Diff from mypy_primer, showing the effect of this PR on open source code:

pandera (https://github.com/pandera-dev/pandera)
+ pandera/typing/pandas.py:13: error: Cannot assign to a type  [misc]
+ pandera/typing/pandas.py:13: error: Incompatible types in assignment (expression has type "None", variable has type "Type[_GenericAlias]")  [assignment]

pydantic (https://github.com/samuelcolvin/pydantic)
+ pydantic/typing.py:33: error: unused "type: ignore" comment

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/util/inspect.py:433: error: unused "type: ignore" comment
github-actions[bot] commented 2 years ago

Diff from mypy_primer, showing the effect of this PR on open source code:

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/util/inspect.py:433: error: Unused "type: ignore" comment

pandera (https://github.com/pandera-dev/pandera)
+ pandera/typing/pandas.py:13: error: Cannot assign to a type  [misc]
+ pandera/typing/pandas.py:13: error: Incompatible types in assignment (expression has type "None", variable has type "Type[_GenericAlias]")  [assignment]

pydantic (https://github.com/samuelcolvin/pydantic)
+ pydantic/typing.py:33: error: Unused "type: ignore" comment
github-actions[bot] commented 2 years ago

Diff from mypy_primer, showing the effect of this PR on open source code:

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/util/inspect.py:433: error: Unused "type: ignore" comment

pandera (https://github.com/pandera-dev/pandera)
+ pandera/typing/pandas.py:13: error: Cannot assign to a type  [misc]
+ pandera/typing/pandas.py:13: error: Incompatible types in assignment (expression has type "None", variable has type "Type[_GenericAlias]")  [assignment]

pydantic (https://github.com/samuelcolvin/pydantic)
+ pydantic/typing.py:33: error: Unused "type: ignore" comment