python-trio / flake8-async

Highly opinionated linter for Trio code
https://flake8-async.readthedocs.io
MIT License
17 stars 2 forks source link

Change trio dependency for pyright to trio-typing #160

Closed jakkdl closed 5 months ago

jakkdl commented 1 year ago

Since there's a bunch of stuff in trio that doesn't raise errors that trio-typing does, this would raise a bunch of warnings about eval files. But as typing in trio converges to the bar in trio-typing these errors would have to be addressed at some point sooner or later anyway. Currently raises 60-ish errors, which mostly will just be ignored. (e.g. 35 errors in TRIO105 about expressions not being awaited ... because that's what the check tests for)

jakkdl commented 5 months ago

trio-typing is now deprecated as typehints have been added to mainline trio.