python-trio / flake8-async

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

reenable coverage, fix missing coverage #126

Closed jakkdl closed 1 year ago

jakkdl commented 1 year ago

only introduced one branch not covered by tests during the three weeks with disabled coverage at least ^^

Accidentally removed in #99

jakkdl commented 1 year ago

Getting it to work post-filesplit without --devel was surprisingly tricky. I found https://github.com/pytest-dev/pytest-cov/issues/98 and needed to both add a tests/__init__.py and add a [coverage:paths] section.

jakkdl commented 1 year ago

I suppose this is a marginal reason to run coverage outside of GH tasks and have a fancy badge in the readme, hah