python-trio / flake8-async

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

clean up tests, merging test_eval and test_eval_anyio #167

Closed jakkdl closed 1 year ago

jakkdl commented 1 year ago

somewhat messy diff since one test function is deleted and the other is modified, but overall functionality should be the exact same.

somewhat awkward to type hint with repeating the literals twice, feels like it should be possible to get rid of that.