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

Make BroadcastProtocol's type assert typecheck time only #95

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

akx
Copy link
Contributor

@akx akx commented Dec 17, 2021

TYPE_CHECKING is never true at runtime, so the assertion won't be triggered, but Mypy will be happy nevertheless.

Should fix #94

@akx
Copy link
Contributor Author

akx commented Dec 17, 2021

Still some issues with the lints, it seems... 🙄 Maybe ${{ secrets.github_token }} needs to be ${{ secrets.GITHUB_TOKEN }}?

@sbidy sbidy merged commit 762af30 into sbidy:master Dec 17, 2021
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.

AssertionError in pywizlight.discovery
2 participants