Skip to content

Sync typeshed #11035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2021
Merged

Sync typeshed #11035

merged 1 commit into from
Aug 28, 2021

Conversation

hauntsaninja
Copy link
Collaborator

Source commit:
python/typeshed@8e0e13a

@hauntsaninja hauntsaninja merged commit 3f8ada0 into python:master Aug 28, 2021
@hauntsaninja hauntsaninja deleted the sync branch August 28, 2021 20:24
@github-actions
Copy link
Contributor

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

sphinx (https://github.com/sphinx-doc/sphinx.git)
- sphinx/util/logging.py: note: In member "handle" of class "SphinxLoggerAdapter":
- sphinx/util/logging.py:140:9: error: Item "LoggerAdapter" of "Union[Logger, LoggerAdapter]" has no attribute "handle"

porcupine (https://github.com/Akuli/porcupine.git)
+ porcupine/plugins/langserver.py:129: error: Missing type parameters for generic type "LoggerAdapter"  [type-arg]
+ porcupine/plugins/langserver.py:143: error: Missing type parameters for generic type "LoggerAdapter"  [type-arg]
+ porcupine/plugins/langserver.py:323: error: Missing type parameters for generic type "LoggerAdapter"  [type-arg]
+ porcupine/plugins/langserver.py:724: error: Missing type parameters for generic type "LoggerAdapter"  [type-arg]

pandas (https://github.com/pandas-dev/pandas.git)
+ pandas/core/computation/scope.py:139: error: unused "type: ignore" comment
+ pandas/core/computation/scope.py:145: error: unused "type: ignore" comment
+ pandas/core/computation/scope.py:262: error: unused "type: ignore" comment
+ pandas/core/indexes/base.py:645: error: "_IndexT" has no attribute "_index_data"  [attr-defined]
+ pandas/core/indexes/multi.py:327: error: Incompatible types in assignment (expression has type "List[None]", variable has type "FrozenList")  [assignment]

bidict (https://github.com/jab/bidict.git)
+ bidict/_base.py:358: error: unused "type: ignore" comment
+ bidict/_orderedbase.py:194: error: "BT" has no attribute "_sntl"
+ bidict/_orderedbase.py:198: error: unused "type: ignore" comment

edgedb (https://github.com/edgedb/edgedb.git)
+ edb/schema/schema.py:546: error: unused "type: ignore" comment

pytest (https://github.com/pytest-dev/pytest.git)
+ testing/test_pastebin.py:101: error: Argument 4 to "HTTPError" has incompatible type "Dict[<nothing>, <nothing>]"; expected "Message"  [arg-type]
- testing/test_config.py:436: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ testing/test_config.py:422: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)

spark (https://github.com/apache/spark.git)
+ python/pyspark/pandas/indexes/base.py:184: error: Incompatible types in assignment (expression has type "CategoricalIndex", variable has type "MultiIndex")
+ python/pyspark/pandas/indexes/base.py:188: error: Incompatible types in assignment (expression has type "Int64Index", variable has type "MultiIndex")
+ python/pyspark/pandas/indexes/base.py:192: error: Incompatible types in assignment (expression has type "Float64Index", variable has type "MultiIndex")
+ python/pyspark/pandas/indexes/base.py:196: error: Incompatible types in assignment (expression has type "DatetimeIndex", variable has type "MultiIndex")
+ python/pyspark/pandas/indexes/base.py:198: error: Incompatible types in assignment (expression has type "Index", variable has type "MultiIndex")
+ python/pyspark/pandas/indexes/base.py:200: error: "MultiIndex" has no attribute "_anchor"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant