summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
* fix: don't overwrite a .gitignore in the html output directory. #1244nedbat/1244-againNed Batchelder2021-11-121-2/+4
|
* style: convert more string formatting to f-stringsNed Batchelder2021-11-116-7/+7
|
* refactor: we no longer need to treat 'class' lines speciallyNed Batchelder2021-11-111-15/+0
| | | | | Originally, this tokenizing code was paired with bytecode analysis. But now we use AST instead, so class lines don't need to be handled differently.
* fix: colons in decorators shouldn't stop an exclusionNed Batchelder2021-11-101-2/+7
|
* build: bump versionNed Batchelder2021-11-101-1/+1
|
* build: prep for 6.1.2Ned Batchelder2021-11-101-1/+1
|
* fix: CPython 3.11 support. #1241Ned Batchelder2021-11-101-1/+7
| | | | | | | | | | | The fix for CTracer is egregious and will need to be updated when there's a supported way to do it. The fullcoverage skip is noted in https://github.com/nedbat/coveragepy/issues/1278 The raise_through_with skip is noted in https://github.com/nedbat/coveragepy/issues/1270
* style: make these macros more bullet-proofNed Batchelder2021-11-102-5/+5
|
* fix: warn about more source file problemsNed Batchelder2021-11-092-7/+8
|
* fix: remapping paths during combining needs to follow relative_files=True. #1147Ned Batchelder2021-11-062-3/+6
|
* fix: give a default value to the name argument for Matchers. #1273Ned Batchelder2021-11-051-3/+3
|
* fix: don't report branches to exclusions as missing. #1271Ned Batchelder2021-11-051-1/+2
|
* refactor(test): don't even import contracts if not using PyContractsNed Batchelder2021-11-043-10/+11
| | | | | | | | On CPython 3.11, PyContracts fails on import, so we need to shut it off more completely. PyContracts is unmaintained these days, so we'll probably get rid of it completely soon.
* build: bump versionNed Batchelder2021-10-311-1/+1
|
* build: prep for 6.1.1Ned Batchelder2021-10-311-1/+1
|
* fix: don't warn about already imported files for namespace packages #888Ned Batchelder2021-10-311-0/+4
| | | | Ignore namespace packages in the already-imported check. #888
* fix: don't mention the p shortcut if not doing branchesNed Batchelder2021-10-301-1/+4
|
* fix: sticky HTML header only worked with branch coverageNed Batchelder2021-10-301-15/+23
|
* chore: bump versionNed Batchelder2021-10-301-1/+1
|
* build: prep for version 6.16.1Ned Batchelder2021-10-291-1/+1
|
* deprecated: the annotate command will be removed in a future versionNed Batchelder2021-10-291-0/+8
|
* test: add a annotate test, and simplify the logicNed Batchelder2021-10-281-5/+2
|
* feat: html output directory gets a .gitignore file. #1244Ned Batchelder2021-10-271-0/+5
|
* fix(debug): ast_dump failed on a few thingsNed Batchelder2021-10-271-2/+5
|
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-265-4/+20
|
* test: a true unit test for render_reportNed Batchelder2021-10-261-1/+1
|
* refactor: alphabetize the optionsNed Batchelder2021-10-261-37/+37
|
* refactor: more directNed Batchelder2021-10-251-3/+2
|
* fix: changes for PyPy3.8Ned Batchelder2021-10-251-1/+4
| | | | | | | | | | - Update tox.ini to let us run against PyPy3.8 - Some 3.8 behavior is (apparently) only on CPython - PyPy3.8 doesn't get along with virtualenv yet (https://github.com/pypa/virtualenv/issues/2182), so use venv instead for our virtualenv tests.
* fix(html): ariaSort isn't supported in Firefox yetNed Batchelder2021-10-233-14/+14
| | | | The HTML report index page wasn't indicating the sort order properly
* fix(html): fix a few problems with the html reportNed Batchelder2021-10-234-28/+32
| | | | | | | | | | - highlights weren't showing - anchored lines were not visible - some j/k motions were broken - clicking the big buttons at the top didn't work
* refactor: no more need for a search path for static filesNed Batchelder2021-10-231-49/+13
| | | | | | | We used to search an OS-specific directory in addition to our own, specifically so that Debian could use an OS-installed copy of jQuery and its plugins. But we no longer have jQuery or any third-party JavaScript code, so we don't need to search the Debian directories.
* refactor(html): remove all uses of jQuery, only vanilla JS nowSeptatrix2021-10-2311-616/+394
| | | | This is squashed from pull request #1248
* refactor(html): a one-header sticky headerNed Batchelder2021-10-234-90/+80
|
* fix(html): scrolling to an anchor ensures the line is visibleNed Batchelder2021-10-203-24/+34
| | | | | | | The sticky header was hiding the line scrolled to the top of the window. Along the way, also changed to use classes on <body> to control the sticky header, and moved the header code into a function.
* fix: avoid measuring generated code. #1160Ned Batchelder2021-10-182-0/+5
|
* refactor: no need for specialized pyexpat code anymoreNed Batchelder2021-10-185-106/+0
| | | | | | | | The pyexpat bug that plagued us was fixed in Python 3.4: https://bugs.python.org/issue22462 We no longer need the code that adapted to it. The test will remain, couldn't hurt.
* fix(html): adjust some colorsNed Batchelder2021-10-172-14/+13
| | | | | | | | - make the yellow border more visible - make the context-blue less vibrant - all colors are lower-case
* feat(html): sticky header on pyfileNed Batchelder2021-10-174-13/+85
|
* refactor(html): use header/main/footer html5 elementsNed Batchelder2021-10-174-29/+29
|
* build: jQuery 3.6.0Ned Batchelder2021-10-161-4/+2
|
* feat: `coverage run` now sets the COVERAGE_RUN environment variableNed Batchelder2021-10-162-1/+4
|
* test: mark some uncovered lines in collector.pyNed Batchelder2021-10-141-4/+4
|
* perf: reduce the overhead of recording branchesNed Batchelder2021-10-143-8/+49
|
* fix: use human sorting on human-readable thingsNed Batchelder2021-10-128-22/+58
|
* test: lightly test the ast_dump functionNed Batchelder2021-10-121-67/+66
|
* build: bump versionNed Batchelder2021-10-111-1/+1
|
* build: prep for 6.0.26.0.2Ned Batchelder2021-10-111-1/+1
|
* fix: source modules need to be re-imported. #1232Ned Batchelder2021-10-113-29/+53
|
* test: add more tests of run_python_fileNed Batchelder2021-10-111-4/+2
| | | | | | The tests in test_process run the exception handling in execfile.py, but only under coverage, so metacov can't see it. These smaller tests exercise the code without coverage on top.