Results 955 comments of Thomas Grainger

It might also be worth pyproject.toml PEP517/PEP518 support too, eg scrap setup.py altogether and use something like flit

@nedbat it might not fail if someone accidentally catches the exception

I also do a lot of work in projects where exceptions go missing, or coroutines *must* be aborted at a particular step. eg https://github.com/agronholm/anyio/blob/5ed3270c8d12cffc4cd3349d9ff32bc32451ae65/tests/test_taskgroups.py#L165-L172 I'd like to be able to...

This is for places where an exception may not be collected, eg in an aborted coroutine in a background task

this also applies to any sort of short circuiting operator eg: ```python def true(): return True def throw_error(): raise Exception def error(): a = true() b = throw_error() return (a...

@nedbat ```ini [coverage:run] source=. [coverage:paths] . .tox/*/lib/*/site-packages/** ``` should be able to get coverage to cover any file in `.tox/*/lib/*/site-packages/**` that matches a file in `.`

`--fail-under-file 0` would return exit code 2 for any unexecuted files

`--fail-under-file 10` would return exit code 2 for any files with individual coverage less than 10%

could use something like this: https://github.com/pypa/setuptools/blob/edcf84faaf17e87e6e38796dd24f66d9236bf87c/setuptools/__init__.py#L110-L119

``` [coverage:run] find_namespace_packages = True source = example ```