summaryrefslogtreecommitdiff
path: root/coverage/summary.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: specialize exceptionsnedbat/exceptionsNed Batchelder2021-11-141-3/+3
| | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better.
* fix: use human sorting on human-readable thingsNed Batchelder2021-10-121-9/+12
|
* refactor: remove globals from NumbersNed Batchelder2021-06-011-2/+2
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-15/+15
|
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-4/+1
|
* refactor: remove unused exception handlingNed Batchelder2021-02-281-24/+13
|
* Always output TOTAL line.Judson Neer2021-01-061-2/+2
|
* Report descending sort option (#1005)Jerin Peter George2020-07-031-2/+10
| | | | | | | | | | | | | | | * added descending sort option in coverage report * commandline option for report sort added * Fix tests for pull #1005 * conditional statements improved * sort option help updated with choices * commandline test for sort added Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* Optionally skip empty files in reportsreybog902019-11-011-0/+9
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-1/+1
|
* Clean up and test filtering contexts for reportingNed Batchelder2019-07-011-1/+1
|
* No need to pass coverage/config separately everywhereNed Batchelder2019-06-171-3/+3
|
* Get rid of Reporter base classNed Batchelder2019-06-161-4/+6
|
* Refactor text reporting to use the same code paths as other reportsNed Batchelder2019-06-161-62/+48
|
* Pass the contexts to the report command.Albertas Agejevas2019-06-101-0/+1
|
* Sort the text missing results by line number, not kindNed Batchelder2018-12-251-8/+1
|
* Be stricter about self._dataNed Batchelder2018-07-081-1/+2
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Reporting doesn't work on Jython, so don't run reporting tests there.Ned Batchelder2017-01-141-2/+5
| | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
* report must ignore skipped files #524loic@dachary.org2016-12-121-27/+42
| | | | | | | | | When files are 100% covered and --skipped-covered is specified, they must not be taken into account to format the text report. It is specially useful when a long filename is skipped. --HG-- branch : issue-524-2
* Properly handle invalid sorting optionNed Batchelder2016-06-091-0/+2
|
* Fix these new tests to really test the codeNed Batchelder2016-06-091-2/+3
|
* More tweaks to report sortingNed Batchelder2016-06-091-10/+15
| | | | | | | | * Option is case-insensitive. * Can no longer sort by "Missing", because it's nonsense. * Can sort by the branch-sensitive columns.
* Issue 199: Sort text report.Dan Wandschneider2016-06-081-2/+18
| | | | | | | | | | | | | | Allows sorting of the text report based on: Name, Stmts, Miss, Cover Tested on Mac with Python 2.7.11 and Python 3.5 Help message for the new option is: python -m coverage report -h ... --sort=SORT Sort report by a column. Valid values are: Name, Stmts, Miss, Cover. ...
* This didn't need to be an attribute on the objectNed Batchelder2016-05-101-3/+3
|
* Add a missing docstring.Ned Batchelder2016-01-181-0/+1
|
* Plain-text output no longer includes trailing spacesNed Batchelder2016-01-171-9/+8
|
* Try a different strategy for setting and testing output encodingsNed Batchelder2015-10-311-3/+2
|
* Properly handle filenames with non-ASCII characters. #432Ned Batchelder2015-10-251-23/+31
|
* --skip-covered shouldn't change the final result. #423.Ned Batchelder2015-10-101-1/+1
|
* Clean ups from PR 66Ned Batchelder2015-08-151-5/+5
|
* Fix no data and skip-covered.garar2015-08-141-1/+1
|
* Merge defaultgarar2015-08-141-4/+1
|\
| * Merged ned/coveragepy into defaultKrystian Kichewko2015-08-141-4/+1
| |\
| | * Simplify the skip_covered logicNed Batchelder2015-08-131-4/+1
| | |
* | | Update skip_covered handling, add info when files are skipped. Tests.garar2015-08-141-1/+10
|/ /
* | Do not raise an exception for empty summary when using skip_covered.garar2015-08-121-1/+1
|/
* Remove should_be_python from the FileReporter interfaceNed Batchelder2015-08-091-0/+2
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* Remove the last vestige of FileReporter.nameNed Batchelder2015-07-041-3/+3
|
* Add missing import. Add assertions for 'No data to report.' in output.Ionel Cristian Maries2015-06-281-1/+1
|
* Make return codes consistent: 1 for no data and 2 for fail_under. Now the ↵Ionel Cristian Maries2015-06-281-1/+2
| | | | `report` command will properly report `No data to report` if there's no data.
* Make the summary return 0 instead.Ionel Cristian Maries2015-06-281-1/+1
|
* Remove every last trace of CodeUnit, and bring me a glass of vodkaNed Batchelder2015-02-221-7/+7
|
* Refactor some of the encoding detectionNed Batchelder2014-12-271-1/+1
|
* Unify and clarify reading Python source. Probably broke .pyw filesNed Batchelder2014-12-261-1/+1
|
* Remove needless KeyboardInterrupt catchingNed Batchelder2014-11-231-2/+0
|
* Clean up the --skip-covered pull request.Ned Batchelder2014-11-231-3/+11
|
* Add skip-covered option.Krystian Kichewko2014-11-191-0/+3
|