Solutions needed: Is it possible for coverage.py to automatically exclude Protocols from measurement?

github.com/nedbat/coveragepy/i

Follow

@coveragepy How bulletproof of a solution do you want here?

Do you already have some model of the structure of the code or the context of a given method definition?

@coveragepy Oh in the issue I guess you mention you just do line-wise regex matching.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.