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

Recursively evaluate TYPE_CHECKING blocks, fix #648 #649

Merged
merged 8 commits into from
Dec 13, 2023

Conversation

mhils
Copy link
Member

@mhils mhils commented Dec 13, 2023

/CC @woodruffw - could you verify that this fixes things beyond the MRE? :)

@woodruffw
Copy link

/CC @woodruffw - could you verify that this fixes things beyond the MRE? :)

Trying it now!

@woodruffw
Copy link

Confirmed! The following produced no warnings:

pip install https://github.com/mhils/pdoc/archive/type-checking.zip
pdoc my_module

Copy link

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for identifying and fixing this so quickly!

@mhils mhils merged commit 281ee74 into mitmproxy:main Dec 13, 2023
12 checks passed
@mhils mhils deleted the type-checking branch December 13, 2023 20:39
@mhils
Copy link
Member Author

mhils commented Dec 13, 2023

Awesome, thanks! pdoc 14.2 will be out in a few minutes.

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.

2 participants