-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Remove pluggy
stubs
#11351
Remove pluggy
stubs
#11351
Conversation
Diff from mypy_primer, showing the effect of this PR on open source code: pytest (https://github.com/pytest-dev/pytest)
- src/_pytest/config/__init__.py:42: error: Module "pluggy" has no attribute "HookimplOpts" [attr-defined]
- src/_pytest/config/__init__.py:44: error: Module "pluggy" has no attribute "HookspecOpts" [attr-defined]
- src/_pytest/config/__init__.py:751: error: "PytestPluginManager" has no attribute "unblock" [attr-defined]
- src/_pytest/config/__init__.py:753: error: "PytestPluginManager" has no attribute "unblock" [attr-defined]
+ src/_pytest/config/__init__.py:475: error: Unused "type: ignore" comment [unused-ignore]
+ src/_pytest/config/__init__.py:507: error: Returning Any from function declared to return "str | None" [no-any-return]
- src/_pytest/config/__init__.py:1073: error: "_HookCaller" has no attribute "_call_history"; maybe "call_historic"? [attr-defined]
- src/_pytest/nodes.py:201: error: Name "pluggy.HookRelay" is not defined [name-defined]
- src/_pytest/main.py:450: error: Name "pluggy.HookCaller" is not defined [name-defined]
- src/_pytest/main.py:674: error: Name "pluggy.HookRelay" is not defined [name-defined]
- src/_pytest/main.py:682: error: Name "pluggy.HookRelay" is not defined [name-defined]
+ src/_pytest/pytester.py:743: error: Unused "type: ignore" comment [unused-ignore]
|
Is it ok that |
Yes, but ideally somebody should make a PR with mypy_primer so it starts installing pluggy when it runs mypy on pytest (not a blocker for this PR though) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we can merge tomorrow ;)
It is the last day of Jan, tomorrow is the date!
Closes #10621