summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
* fix: don't measure third-party scriptsnedbat/bin-excludeNed Batchelder2021-04-111-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 roleNed Batchelder2021-04-113-15/+18
|
* fix: don't measure third-party packagesNed Batchelder2021-04-102-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 worldsNed Batchelder2021-04-101-2/+4
|
* refactor: move stdlib and coverage location logic into functionsNed Batchelder2021-04-101-29/+41
|
* fix: remove debugging code I checked in by accidentNed Batchelder2021-03-191-3/+0
|
* style: correct two recent lint faux pasNed Batchelder2021-03-182-1/+4
|
* docs: clarify the --source valuesNed Batchelder2021-03-181-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 parameterNed Batchelder2021-03-141-2/+2
|
* docs: note what pep626 isNed Batchelder2021-03-141-0/+2
|
* tool: more information about the location of ast nodes when debuggingNed Batchelder2021-03-131-1/+6
|
* refactor: pull module cleaning into hereNed Batchelder2021-03-111-6/+0
| | | | We don't need unittest_mixins' module cleaner anymore.
* feat: percent_covered_display in the JSON reportnedbat/tweak-metacovNed Batchelder2021-03-021-0/+2
|
* refactor: remove unused code pathsNed Batchelder2021-02-281-18/+20
|
* build: version bumpNed Batchelder2021-02-281-1/+1
|
* build: version 5.5 prepNed Batchelder2021-02-281-1/+1
|
* fix: don't report branches to missing lines. #1065Ned Batchelder2021-02-281-1/+1
| | | | | Fixes: #1065 Fixes: #955
* test: fix a few metacov exclusionsNed Batchelder2021-02-281-1/+1
|
* fix: improve an error message. #803Ned Batchelder2021-02-281-2/+2
| | | | Fixes #803.
* refactor: remove unused exception handlingNed Batchelder2021-02-281-24/+13
|
* fix: HTML line visibility is saved in local storage #1123Ned Batchelder2021-02-271-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 #1124Ned Batchelder2021-02-272-8/+8
| | | | Fixes: #1124
* refactor: remove unneeded codeNed Batchelder2021-02-261-5/+2
|
* build: update to latest pylintNed Batchelder2021-02-262-2/+2
|
* test: add a test of missing sections and optionsNed Batchelder2021-02-251-2/+2
|
* build: nicer publishing of HTML reportNed Batchelder2021-02-241-1/+1
| | | | Also, this correctly combines results from different runners.
* fix: avoid tracing pytracer.pyNed Batchelder2021-02-211-8/+37
| | | | Also, adjust the logging available in pytracer
* refactor: we weren't using this __eq__Ned Batchelder2021-02-071-3/+0
|
* test: quiet a misleading coverage missNed Batchelder2021-02-071-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.assertCountEqualNed Batchelder2021-02-061-25/+0
| | | | Another step toward removing unittest.TestCase.
* refactor: remove unused methodsNed Batchelder2021-02-021-9/+1
|
* build: next version will be 5.5Ned Batchelder2021-01-301-1/+1
| | | | Since we've added a feature (combine --keep).
* style: nicer long function callNed Batchelder2021-01-301-2/+7
|
* doc: touch-ups for `combine --keep`Ned Batchelder2021-01-302-2/+4
|
* Add combine --keep (#1110)Éric Larivière2021-01-303-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 CoverageConfigNed Batchelder2021-01-271-7/+15
|
* Version bumpNed Batchelder2021-01-261-1/+1
|
* Prep for 5.4Ned Batchelder2021-01-241-1/+1
|
* Simplify the testing of the toml extra, fixing #1084Ned Batchelder2021-01-182-78/+6
|
* fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577)Valentin Lab2021-01-171-2/+4
| | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
* skip_covered and skip_empty for HTML. #1090Ned Batchelder2021-01-103-4/+16
|
* Use the modern way to load modules by file name.Ned Batchelder2021-01-101-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 Batchelder2021-01-101-3/+1
|
* Use the supported way to get a C frame's linenoNed Batchelder2021-01-101-10/+10
| | | | See https://bugs.python.org/issue42823 for discussion.
* PEP 626: Docstring-only functions changed againNed Batchelder2021-01-101-0/+3
|
* PEP 626: constant tests are kept as no-opsNed Batchelder2021-01-102-3/+24
| | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future?
* Clean up the platform constants in env.pyNed Batchelder2021-01-101-6/+7
|
* In 3.10, modules always have firstlineno==1Ned Batchelder2021-01-102-1/+13
|
* Py 3.10 doesn't jump back from finally any moreNed Batchelder2021-01-101-1/+1
|
* Python 3.10 doesn't compile statments after unconditional jumps.Ned Batchelder2021-01-101-0/+7
| | | | This includes break/continue/return/raise.