Skip to content

Commit

Permalink
Merge pull request #77 from zopefoundation/remove_coveragerc
Browse files Browse the repository at this point in the history
Move settings from .coveragerc to setup.cfg
  • Loading branch information
loechel committed Sep 14, 2017
2 parents 2a791f8 + bc5c42b commit b2c6b21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .coveragerc

This file was deleted.

19 changes: 19 additions & 0 deletions setup.cfg
Expand Up @@ -56,3 +56,22 @@ ignore =
N805,
N806,
N812,

[coverage:run]
branch = True
source = RestrictedPython
omit =
# Tests are classically not part of source code
# and should not be calculated into coverage sum
# on the other hand, the coverage tools do a handy job on highlighting
# code branches and tests that that did not get executed.
# Therefore we include tests into coverage analysis for the moment.
#tests/*.py
#src/RestrictedPython/tests
#src/RestrictedPython/tests/*.py

[coverage:report]
precision = 2

[coverage:html]
directory = reports/coverage

0 comments on commit b2c6b21

Please sign in to comment.