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

Add typing and enforce checking via tox/CI #135

Merged
merged 1 commit into from Dec 23, 2021

Commits on Dec 19, 2021

  1. Add typing and enforce checking via tox/CI

    This uses the same mypy settings as wsproto.
    
    The Sentinel values are problematic, but I've found no good solution
    that also has the property that type(Sentinel) is Sentinel - so this
    should suffice for now.
    
    Whilst I've been lazy with the tests, I've mostly avoided type ignores
    in the main code. This should ensure that mypyc can be used if
    desired.
    pgjones committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    90baa95 View commit details
    Browse the repository at this point in the history