python-trio / flake8-async

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

False-alarm in `TRIO210` - dicts, queues, etc are not sync http clients #129

Closed Zac-HD closed 1 year ago

Zac-HD commented 1 year ago
async def f():
    r = {}
    r.get("not a sync http client")  # False alarm: raises TRIO210

I've seen similar issues on Queue().put(...), SomeCls.delete(), etc.