Skip to content
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

Sync typeshed #11416

Merged
merged 1 commit into from
Oct 31, 2021
Merged

Sync typeshed #11416

merged 1 commit into from
Oct 31, 2021

Conversation

hauntsaninja
Copy link
Collaborator

Source commit:
python/typeshed@151f256

@github-actions
Copy link
Contributor

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

core (https://github.com/home-assistant/core.git)
+ homeassistant/loader.py:298: error: unused "type: ignore" comment
+ homeassistant/helpers/service.py:708: error: unused "type: ignore" comment

porcupine (https://github.com/Akuli/porcupine.git)
+ porcupine/plugins/find.py:50: error: unused "type: ignore" comment

aiohttp (https://github.com/aio-libs/aiohttp.git)
+ aiohttp/web.py:307: error: unused "type: ignore" comment

anyio (https://github.com/agronholm/anyio.git)
+ src/anyio/to_process.py:204: error: Redundant cast to "Loader"

pytest (https://github.com/pytest-dev/pytest.git)
+ src/_pytest/config/__init__.py:1712: error: Argument 1 to "filterwarnings" has incompatible type "*Tuple[str, str, Type[Warning], str, int]"; expected "Union[Literal['default'], Literal['error'], Literal['ignore'], Literal['always'], Literal['module'], Literal['once']]"  [arg-type]
+ src/_pytest/config/__init__.py:1715: error: Argument 1 to "filterwarnings" has incompatible type "*Tuple[str, str, Type[Warning], str, int]"; expected "Union[Literal['default'], Literal['error'], Literal['ignore'], Literal['always'], Literal['module'], Literal['once']]"  [arg-type]
- src/_pytest/python.py:946: error: Unexpected keyword argument "marks" for "CallSpec2"  [call-arg]
+ src/_pytest/python.py:946: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- src/_pytest/logging.py:634: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)

@hauntsaninja hauntsaninja merged commit 28d57b1 into python:master Oct 31, 2021
@hauntsaninja hauntsaninja deleted the sync branch October 31, 2021 06:27
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
Source commit:
python/typeshed@151f256

Co-authored-by: hauntsaninja <>
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