#757 Force coverage3 read correct rc file.
Merged by mikem. Opened by franzh.
franzh/koji issue756  into  master

Download 757.patch

Fix issue: https://pagure.io/koji/issue/756
1) Force coverage3 read .coveragerc3 as rc file to generate report and html
2) Add exclude_lines and extend checks in both .coveragerc and .coveragerc3

1 new commit added

  • add coverage exclude check

:thumbsup:

Looks good. Is "no cover 3.x" standard? Is there any sort of standard for such conditional exclusions?

@mikem
The 'no cover 3.x' is an extended keyword that I defined it in .coveragerc3. I also defined 'no cover 2.x' for python2 to separate different conditions.

For exclude_lines details, please refer to:
https://coverage.readthedocs.io/en/coverage-4.4.2/excluding.html

:thumbsup:

Commit dc411d94 fixes this pull-request

Pull-Request has been merged by mikem

Metadata