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

Fix plenty of mypy misc+name-defined+attr-defined and pyright reportAttributeAccessIssue from pythoncom.py and pywintypes.py #2418

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Oct 23, 2024

def __getattr__(name: str) -> Any: ... is the same technique typeshed uses for incomplete and dynamic stubs

@Avasam Avasam changed the title mypy: fix and re-enable misc + name-defined mypy: fix plenty of misc + name-defined + attr-defined Oct 23, 2024
setup.py Outdated Show resolved Hide resolved
@Avasam Avasam changed the title mypy: fix plenty of misc + name-defined + attr-defined mypy: fix plenty of misc + name-defined + attr-defined by clearly making pythoncom.py and pywintypes.py dynamic Oct 23, 2024
@Avasam Avasam changed the title mypy: fix plenty of misc + name-defined + attr-defined by clearly making pythoncom.py and pywintypes.py dynamic Fix plenty of mypy misc+name-defined+attr-defined and pyright reportAttributeAccessIssue by clearly making pythoncom.py and pywintypes.py dynamic Oct 23, 2024
@Avasam Avasam changed the title Fix plenty of mypy misc+name-defined+attr-defined and pyright reportAttributeAccessIssue by clearly making pythoncom.py and pywintypes.py dynamic Fix plenty of mypy misc+name-defined+attr-defined and pyright reportAttributeAccessIssue from pythoncom.py and pywintypes.py Oct 23, 2024
mypy.ini Outdated Show resolved Hide resolved
@Avasam Avasam marked this pull request as draft October 25, 2024 04:37
@Avasam Avasam force-pushed the mypy-fix-and-re-enable-misc-+-name-defined branch from 11a6602 to e828797 Compare October 30, 2024 01:59
@Avasam Avasam marked this pull request as ready for review October 30, 2024 02:04
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