python-trio / flake8-async

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

add TRIO117, error on any reference to multierror #112

Closed jakkdl closed 1 year ago

jakkdl commented 1 year ago

Fixes #105 I made some assumptions when writing the README message, and the error message could maybe be more informative. Otherwise a very simple and straightforward check. I could restrict it to raise/catch/methods if this is too liberal, but simplest was to just trigger on any name/attribute and not care about context.