summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
...
* fix: filenames can contain special glob characters (#1405)earthman12022-08-062-3/+3
| | | | | * Fix globbing of filenames that contain special glob characters * glob the path as well as the filename
* fix(html): trigger filter on page load (#1413)Marc Legendre2022-08-061-1/+1
| | | | | | | | | In the HTML report, if the "filter" input contains a value when the page loads, it is ignored. This happens even though an event is actually created on start-up to trigger the refresh. I believe this is a regression introduced in 9a1954a224c7c0f578513d8f4ca5f821fcf2cf5a, when the observed events changed from "keyup change" to "input".
* fixed "mNan" id in scroll markers (#1414)LordBaryhobal2022-08-061-1/+1
|
* fix: reduce the scope of a try/except.Ned Batchelder2022-08-061-2/+3
|
* fix: don't fail if can't find a relative path to a data file on another ↵Lorenzo Micò2022-08-061-1/+7
| | | | | volume on win32 (#1428) (#1430) Co-authored-by: Lorenzo Micò <lmico@dxc.com>
* Map also empty dictionaries to fileMatus Valo2022-08-061-1/+1
|
* test: xfail some tests that need PyPy to improve #1426Ned Batchelder2022-08-021-1/+1
| | | | https://foss.heptapod.net/pypy/pypy/-/issues/3792
* build: bump versionNed Batchelder2022-07-121-1/+1
|
* docs: prep for 6.4.2Ned Batchelder2022-07-121-1/+1
|
* fix: 3.11.0b4 has 0-numbered lines. Fixes #1419Ned Batchelder2022-07-122-1/+4
| | | | | CPython added these lines in https://github.com/python/cpython/commit/1bfe83a114da3939c00746fc44dc5da7f56f525f
* style: use new regex match object group accessNed Batchelder2022-07-082-5/+5
|
* fix: COLLECT_STATS crash due to wrong BuildValue formatNed Batchelder2022-06-111-1/+1
| | | | This should have been part of 80211966 from 2021-10-18.
* fix: when stashing the singleton to sys.modules, use an actual module ↵Yilei "Dolee" Yang2022-06-111-2/+7
| | | | | object. (#1399) At least this won't trip anyone iterating through sys.modules and expects the values are actual modules.
* refactor: SQLite REGEX function can be inlineNed Batchelder2022-06-081-6/+1
|
* Use `PyCode_GetCode`Dennis Sweeney2022-06-061-1/+4
|
* style: pylint changed to 2.14, adapt.Ned Batchelder2022-06-021-0/+1
|
* build: bump versionNed Batchelder2022-06-021-1/+1
|
* build: prep for 6.4.1Ned Batchelder2022-06-021-1/+1
|
* fix: use tomli for [toml] under more precise conditions. #1390Ned Batchelder2022-06-011-1/+1
|
* docs: mentioned pull #1388Ned Batchelder2022-05-301-4/+3
|
* perf: PyTracer improvements (#1388)Carl Friedrich Bolz-Tereick2022-05-301-24/+41
| | | | | | | | | | | | | | | | | * cache the bound method of _trace on self this speeds up pure python tracing because we don't have to re-create a bound method object all the time * optimize checking whether a file should be traced the optimization works based on the following heuristic: in a majority of cases, functions call other functions in the same file. In that situation we don't have to re-check whether we should trace the file * fix optimization in the presence of contexts * fix too long line
* build: always use three-component version numbersNed Batchelder2022-05-301-3/+1
| | | | | Someone thought we didn't use semantic versioning because we said "6.4" instead of "6.4.0". Don't trim .0.
* perf: set frame->f_trace_lines=0 when not tracing. ~3% fasterNed Batchelder2022-05-282-0/+5
|
* perf: speed up python tracer with frame.f_trace_lines = False (#1381)Carl Friedrich Bolz-Tereick2022-05-281-0/+2
| | | | | | | | | use the python >= 3.7 feature of being able to disable line tracing by setting the frame attribute f_trace_lines to False. This can be used for the frames of functions that we aren't collecting coverage information for (eg those functions in the stdlib). This speeds up the pure python tracer in CPython by ~9x and in PyPy by 80% on a coverage run of one realistic project that I tried.
* build: bump versionNed Batchelder2022-05-221-1/+1
|
* fix: don't create a data file when just trying to read one. #13286.4Ned Batchelder2022-05-221-2/+3
|
* build: prep for 6.4Ned Batchelder2022-05-221-1/+1
|
* feat: a new debug option `sqldata` shows all the data being written to the db.Ned Batchelder2022-05-221-10/+23
|
* refactor: SqliteDb uses its debug object more like other codeNed Batchelder2022-05-221-7/+7
|
* style: make sqldata.py code more uniformNed Batchelder2022-05-211-20/+20
|
* fix: CoverageData(no_disk=True).update() now works. #1323Ned Batchelder2022-05-211-5/+7
|
* style(html): clean up the html tags and stylesNed Batchelder2022-05-204-57/+60
|
* feat: also include the version and timestamp at the top of the index page: #1354Ned Batchelder2022-05-201-0/+5
|
* feat(html): version and timestamp at the top of report files.Ned Batchelder2022-05-203-20/+33
| | | | This is a re-implementation of pull #1354.
* fix: next/prev links in HTML report don't link to skipped files.Ned Batchelder2022-05-191-63/+61
| | | | | Previously, the next link might refer to a file that was skipped because it was empty or 100% covered. Now they do not.
* docs: thanks for the new keyboard shortcutsNed Batchelder2022-05-191-3/+2
|
* feat: more html keyboard shortcutsJ. M. F. Tsang2022-05-194-13/+128
| | | | | | | | | | | | | | | | | | | | On each page the shortcuts '[' and ']' will take you to the previous and next files respectively. On the index page they take you to the final and first files respectively. Pressing 'u' while on a file will now take you back to index.html, like on Gerrit. '?' opens and closes the help panel. Test cases: $ pytest --cov-report html --cov=. tests.py in a directory with just tests.py, then with one, two or three .py files. Tested on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:99.0) Gecko/20100101 Firefox/99.0
* build: the next version will be 6.4Ned Batchelder2022-05-181-1/+1
|
* fix: the SIGTERM handler is now opt-in. #1310Ned Batchelder2022-05-182-6/+9
|
* refactor: clean up tomllib additionNed Batchelder2022-05-151-4/+5
|
* Use tomllib on Python 3.11 (#1359)Shantanu2022-05-151-9/+14
| | | Co-authored-by: hauntsaninja <>
* debug: slightly nicer wrapping of the sqlite3 debug infoNed Batchelder2022-05-141-3/+2
|
* test: remove version-specfic skips we no longer needNed Batchelder2022-05-131-3/+0
|
* build: version bumpNed Batchelder2022-05-121-1/+1
|
* build: prep for 6.3.3Ned Batchelder2022-05-121-1/+1
|
* chore: make upgradeNed Batchelder2022-05-121-0/+1
| | | | | Wrote this bug for pylint, because I shouldn't have to add a pragma: https://github.com/PyCQA/pylint/issues/6592
* fix: fix compilation errors on latest 3.11.0Ned Batchelder2022-05-122-9/+30
|
* debug: incidental debug improvements in tracer.cNed Batchelder2022-05-121-6/+9
|
* style: parens should indent the same as their opening lineNed Batchelder2022-05-0115-42/+40
|
* chore: make upgradeNed Batchelder2022-04-301-0/+1
|