user3128376
user3128376

Reputation: 994

coverage3 run OMIT libraries

I'm running coverage3 run and I want to omit the libraries, numpy and requests.

When I do coverage3 run --omit=*numpy* it omits the numpy library, however when I do coverage3 run --omit='*requests*, *numpy*' it only omits the first one, which is requests and doesn't omit numpy also.

How do I omit more than 1 libraries when I'm running coverage3?

Upvotes: 0

Views: 125

Answers (1)

Ned Batchelder
Ned Batchelder

Reputation: 375854

I think the answer might be as simple as leaving out the extra space. Instead of:

coverage3 run --omit='*requests*, *numpy*'

use:

coverage3 run --omit='*requests*,*numpy*'

Though you shouldn't that many stars either...

Upvotes: 1

Related Questions