python-trio / trio-typing

Type hints for Trio and related projects
Other
27 stars 13 forks source link

Fix for mypy 1.4 changes #83

Closed VincentVanlaer closed 11 months ago

VincentVanlaer commented 1 year ago

This PR contains all the necessary changes to the plugin, tests and stubs for mypy 1.4

Api changes

Stubtest changes

As stubtest is part of mypy, and therefore also got updated, the stubs required signficant changes:

List of relevant changes:

Minor changes:

Fixes #84 Fixes #85

A5rocks commented 1 year ago

Could you check the mypy version we are passed to choose whether to pass default= or not?

I don't like having to drop mypy < 1.4

VincentVanlaer commented 12 months ago

I have added a check for the mypy version (and some other required changes due to changes in trio)

VincentVanlaer commented 11 months ago

Thanks for all the reviews!