Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: don't measure third-party scriptsnedbat/bin-exclude | Ned Batchelder | 2021-04-11 | 1 | -14/+22 |
| | | | | | | This finishes the last bit of #905 Also includes tighter logging of the reason for not tracing modules. | ||||
* | debug: label each matcher with its role | Ned Batchelder | 2021-04-11 | 3 | -15/+18 |
| | |||||
* | fix: don't measure third-party packages | Ned Batchelder | 2021-04-10 | 2 | -10/+95 |
| | | | | | | | | | | | | Avoid measuring code located where third-party packages get installed. We have to take care to measure --source code even if it is installed in a third-party location. This also fixes #905, coverage generating warnings about coverage being imported when it will be measured. https://github.com/nedbat/coveragepy/issues/876 https://github.com/nedbat/coveragepy/issues/905 | ||||
* | fix: make TreeMatcher right for case-sensitive worlds | Ned Batchelder | 2021-04-10 | 1 | -2/+4 |
| | |||||
* | refactor: move stdlib and coverage location logic into functions | Ned Batchelder | 2021-04-10 | 1 | -29/+41 |
| | |||||
* | fix: remove debugging code I checked in by accident | Ned Batchelder | 2021-03-19 | 1 | -3/+0 |
| | |||||
* | style: correct two recent lint faux pas | Ned Batchelder | 2021-03-18 | 2 | -1/+4 |
| | |||||
* | docs: clarify the --source values | Ned Batchelder | 2021-03-18 | 1 | -1/+1 |
| | | | | | | On the Test & Code podcast (https://testandcode.com/148) Brian Okken explained why the old wording was confusing. I hope this makes it clearer. | ||||
* | refactor: remove unused encoding parameter | Ned Batchelder | 2021-03-14 | 1 | -2/+2 |
| | |||||
* | docs: note what pep626 is | Ned Batchelder | 2021-03-14 | 1 | -0/+2 |
| | |||||
* | tool: more information about the location of ast nodes when debugging | Ned Batchelder | 2021-03-13 | 1 | -1/+6 |
| | |||||
* | refactor: pull module cleaning into here | Ned Batchelder | 2021-03-11 | 1 | -6/+0 |
| | | | | We don't need unittest_mixins' module cleaner anymore. | ||||
* | feat: percent_covered_display in the JSON reportnedbat/tweak-metacov | Ned Batchelder | 2021-03-02 | 1 | -0/+2 |
| | |||||
* | refactor: remove unused code paths | Ned Batchelder | 2021-02-28 | 1 | -18/+20 |
| | |||||
* | build: version bump | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | build: version 5.5 prep | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | fix: don't report branches to missing lines. #1065 | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | | | | | Fixes: #1065 Fixes: #955 | ||||
* | test: fix a few metacov exclusions | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | fix: improve an error message. #803 | Ned Batchelder | 2021-02-28 | 1 | -2/+2 |
| | | | | Fixes #803. | ||||
* | refactor: remove unused exception handling | Ned Batchelder | 2021-02-28 | 1 | -24/+13 |
| | |||||
* | fix: HTML line visibility is saved in local storage #1123 | Ned Batchelder | 2021-02-27 | 1 | -8/+35 |
| | | | | | | | Seems like we could unify the two different uses of localStorage, but that's for another time. Fixes: #1123 | ||||
* | fix: HTML report makes room for 4-digit line numbers #1124 | Ned Batchelder | 2021-02-27 | 2 | -8/+8 |
| | | | | Fixes: #1124 | ||||
* | refactor: remove unneeded code | Ned Batchelder | 2021-02-26 | 1 | -5/+2 |
| | |||||
* | build: update to latest pylint | Ned Batchelder | 2021-02-26 | 2 | -2/+2 |
| | |||||
* | test: add a test of missing sections and options | Ned Batchelder | 2021-02-25 | 1 | -2/+2 |
| | |||||
* | build: nicer publishing of HTML report | Ned Batchelder | 2021-02-24 | 1 | -1/+1 |
| | | | | Also, this correctly combines results from different runners. | ||||
* | fix: avoid tracing pytracer.py | Ned Batchelder | 2021-02-21 | 1 | -8/+37 |
| | | | | Also, adjust the logging available in pytracer | ||||
* | refactor: we weren't using this __eq__ | Ned Batchelder | 2021-02-07 | 1 | -3/+0 |
| | |||||
* | test: quiet a misleading coverage miss | Ned Batchelder | 2021-02-07 | 1 | -1/+3 |
| | | | | | We need this on Python 2, but in testing environments, a backport is installed, so this import isn't used. | ||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -25/+0 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | refactor: remove unused methods | Ned Batchelder | 2021-02-02 | 1 | -9/+1 |
| | |||||
* | build: next version will be 5.5 | Ned Batchelder | 2021-01-30 | 1 | -1/+1 |
| | | | | Since we've added a feature (combine --keep). | ||||
* | style: nicer long function call | Ned Batchelder | 2021-01-30 | 1 | -2/+7 |
| | |||||
* | doc: touch-ups for `combine --keep` | Ned Batchelder | 2021-01-30 | 2 | -2/+4 |
| | |||||
* | Add combine --keep (#1110) | Éric Larivière | 2021-01-30 | 3 | -8/+18 |
| | | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long | ||||
* | refactor: Move post-processing into CoverageConfig | Ned Batchelder | 2021-01-27 | 1 | -7/+15 |
| | |||||
* | Version bump | Ned Batchelder | 2021-01-26 | 1 | -1/+1 |
| | |||||
* | Prep for 5.4 | Ned Batchelder | 2021-01-24 | 1 | -1/+1 |
| | |||||
* | Simplify the testing of the toml extra, fixing #1084 | Ned Batchelder | 2021-01-18 | 2 | -78/+6 |
| | |||||
* | fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577) | Valentin Lab | 2021-01-17 | 1 | -2/+4 |
| | | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org> | ||||
* | skip_covered and skip_empty for HTML. #1090 | Ned Batchelder | 2021-01-10 | 3 | -4/+16 |
| | |||||
* | Use the modern way to load modules by file name. | Ned Batchelder | 2021-01-10 | 1 | -5/+7 |
| | | | | | | | Python 3.10 finally got super-noisy about load_module, which has been deprecated since 3.4! https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module | ||||
* | A better test for 'if not __debug__' | Ned Batchelder | 2021-01-10 | 1 | -3/+1 |
| | |||||
* | Use the supported way to get a C frame's lineno | Ned Batchelder | 2021-01-10 | 1 | -10/+10 |
| | | | | See https://bugs.python.org/issue42823 for discussion. | ||||
* | PEP 626: Docstring-only functions changed again | Ned Batchelder | 2021-01-10 | 1 | -0/+3 |
| | |||||
* | PEP 626: constant tests are kept as no-ops | Ned Batchelder | 2021-01-10 | 2 | -3/+24 |
| | | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future? | ||||
* | Clean up the platform constants in env.py | Ned Batchelder | 2021-01-10 | 1 | -6/+7 |
| | |||||
* | In 3.10, modules always have firstlineno==1 | Ned Batchelder | 2021-01-10 | 2 | -1/+13 |
| | |||||
* | Py 3.10 doesn't jump back from finally any more | Ned Batchelder | 2021-01-10 | 1 | -1/+1 |
| | |||||
* | Python 3.10 doesn't compile statments after unconditional jumps. | Ned Batchelder | 2021-01-10 | 1 | -0/+7 |
| | | | | This includes break/continue/return/raise. |