python-trio / flake8-async

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

Add ASYNC913, indefinite-loop-no-guaranteed-checkpoint. Fix async91x bugs #255

Closed jakkdl closed 1 month ago

jakkdl commented 1 month ago

Adds a new check ASYNC913, indefinite-loop-no-guaranteed-checkpoint.

Will likely have some minor merge conflicts with #254 Fixes #240. Together with #254 it fixes the example given in #227. The error will be for the loop though, and not the context manager.

I also noticed a few bugs when implementing it, that also are fixed