python-trio / flake8-async

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

6: async checkpoints #16

Closed jakkdl closed 2 years ago

jakkdl commented 2 years ago

I had an eye on this one when working on trio103/104, which is why that one is a bit overkill for a relatively simple check - but made it a breeze to implement this one since it's got a large overlap.

Added messages temporarily as 300 & 301 to avoid numbering conflicts, will change that to 1XX once ready to merge. (Unfortunately needs changing in a bunch of places in the code)

jakkdl commented 2 years ago

rebased onto master, fixed your comments, fixed TRIO103 errors in the 107_108 file, and incremented version~ :sparkles: