forked from google/pygtrie
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add python-coverage configuration and fully cover the code
$ make coverage … Name Stmts Miss Branch BrPart Cover Missing -------------------------------------------------------- pygtrie.py 395 0 142 0 100% As a result of this change, some dead code has been eliminated so that’s another win.
- Loading branch information
Showing
5 changed files
with
106 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Configuration for python-coverage. Run ‘make coverage’ to check coverage. | ||
|
||
[run] | ||
omit = test.py | ||
branch = on | ||
|
||
[report] | ||
exclude_lines = | ||
raise NotImplementedError | ||
.* # Python 2 compatibility | ||
show_missing = true | ||
fail_under = 95 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.pyc | ||
.coverage | ||
.version | ||
MANIFEST | ||
build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters