-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
PyInstaller: Complete types in build_main.pyi #13528
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
Conversation
Complete the incomplete types of Analysis class constructor params.
This comment has been minimized.
This comment has been minimized.
sobolevn
left a comment
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.
Don't forget to add instance attributes to Analysis class, not just __init__ params.
Add annotations for instance attributes.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: sobolevn <[email protected]>
reflect to sobolevn review.
…to pyinstaller-improve-analysis
This comment has been minimized.
This comment has been minimized.
sobolevn
left a comment
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.
inputs: list[str]is missing https://github.com/pyinstaller/pyinstaller/blob/c7f12ccfaa2e116c3b7cfb58dadfc1e6b8c6882d/PyInstaller/building/build_main.py#L472dependenciesattr is also missing https://github.com/pyinstaller/pyinstaller/blob/c7f12ccfaa2e116c3b7cfb58dadfc1e6b8c6882d/PyInstaller/building/build_main.py#L552noarchiveis missing https://github.com/pyinstaller/pyinstaller/blob/c7f12ccfaa2e116c3b7cfb58dadfc1e6b8c6882d/PyInstaller/building/build_main.py#L554optimizeis missing https://github.com/pyinstaller/pyinstaller/blob/c7f12ccfaa2e116c3b7cfb58dadfc1e6b8c6882d/PyInstaller/building/build_main.py#L556
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Co-authored-by: sobolevn <[email protected]>
Complete the incomplete types of Analysis class constructor params.