python-trio / flake8-async

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

various small fixes #264

Closed jakkdl closed 4 months ago

jakkdl commented 4 months ago

Various small fixes I noticed while going through code/doc/issues.

jakkdl commented 4 months ago

Don't think this needs a version/changelog bump, but it would probably be good to have some check for if the changelog is updated in a pull request as that's been missed in the past.

jakkdl commented 4 months ago

I think the coverage failure on py39 is a bug in pytest-cov or coverage (??). I can reproduce it locally when running through tox. It's triggering here on line 130: https://github.com/python-trio/flake8-async/blob/f383fe696129526ff339060460535c826c51d7fd/flake8_async/visitors/visitors.py#L129-L130

[...]