Results 963 comments of Ned Batchelder

*Original comment by* **space one (Bitbucket: [spaceone](https://bitbucket.org/spaceone), GitHub: [spaceone](https://github.com/spaceone))** ---------------------------------------- coverage.Coverage.stop() could return that result object.

*Original comment by* **space one (Bitbucket: [spaceone](https://bitbucket.org/spaceone), GitHub: [spaceone](https://github.com/spaceone))** ---------------------------------------- Nice would be some "Result" object (so that it could be adapted in the future). which has the percentage as...

Mulling over how to implement this, it seems like this will be the only result you want? That is, you won't be writing an HTML report and then also using...

*Original comment by* **space one (Bitbucket: [spaceone](https://bitbucket.org/spaceone), GitHub: [spaceone](https://github.com/spaceone))** ---------------------------------------- I am also interested in this. I want to do something like: cov.stop() assert cov.get_percentage() == 100

Now there is a command-line way to get the total percentage: `coverage report --format=total` (new in 7.0). This request is about an API way to get the total, which I...

This feels like something that behaves differently on different versions of Python. We should investigate.

I could make a deny list that included "...", but: 1. What else would go on it? 2. Is there a cleverer way? If your pattern matches all three strings...

I need some clarification about what people mean by "function-level coverage". The pytest-func-cov plugin considers a function tested if it is called directly by a test, but not if it...

I have some thoughts about how to implement this, and have started some of the foundation work. I'm curious if people have ideas about how to present the data? Do...

This is an interesting point, because the function-level data doesn't need to be stored in the database at all, just as the missing lines aren't in the database. The database...