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 type annotations #341

Merged
merged 8 commits into from Aug 8, 2021
Merged

Add type annotations #341

merged 8 commits into from Aug 8, 2021

Commits on Aug 2, 2021

  1. Add type annotations

    - Annotate the package.
    - Annotate the tests.
    - Run mypy in CI (in both Python 2 and Python 3 modes).
    - Publish the types with `py.typed` files.
    
    Fixes python-trio#339.
    bluetech committed Aug 2, 2021
    Copy the full SHA
    5ed8fa8 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Need mypy[python2]

    bluetech committed Aug 5, 2021
    Copy the full SHA
    8c35eca View commit details
    Browse the repository at this point in the history
  2. Use pytest 4.6.x for now

    Avoid syntax errors when running `mypy -2`.
    bluetech committed Aug 5, 2021
    Copy the full SHA
    febc94f View commit details
    Browse the repository at this point in the history
  3. Require idna<3 in Python 3 as well

    For `mypy -2`.
    bluetech committed Aug 5, 2021
    Copy the full SHA
    2d14629 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. Copy the full SHA
    a812add View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    5e9bb69 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    532e6ea View commit details
    Browse the repository at this point in the history
  4. Retry CI

    bluetech committed Aug 7, 2021
    Copy the full SHA
    a52a14e View commit details
    Browse the repository at this point in the history