summaryrefslogtreecommitdiff
path: root/coverage/data.py
Commit message (Collapse)AuthorAgeFilesLines
* style: double quotesNed Batchelder2023-03-221-3/+3
|
* mypy: turn on disallow_untyped_callsNed Batchelder2023-01-121-0/+1
|
* style: use good style for annotated defaults parametersNed Batchelder2023-01-051-7/+7
|
* mypy: use __future__ uniformly in checked filesNed Batchelder2023-01-051-0/+2
|
* fix: race condition on data file shouldn't break combining. #1522Ned Batchelder2023-01-031-0/+2
|
* test: a sorted_lines helperNed Batchelder2022-12-311-1/+7
|
* mypy: add data.py and test_api.pyNed Batchelder2022-12-311-11/+23
|
* perf: hash data files during combining to avoid unneeded work. #1483Ned Batchelder2022-11-081-26/+45
| | | | | | | | | When generating many parallel data files, often some data files will be exact copies of each other. Checking the hashes, we can avoid combining the duplicates, speeding the process. On a coverage.py metacov, we had 651 duplicates out of 2189 files (29%). The time to combine was reduced by 17%.
* fix: filenames can contain special glob characters (#1405)earthman12022-08-061-1/+1
| | | | | * Fix globbing of filenames that contain special glob characters * glob the path as well as the filename
* 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>
* style: pylint changed to 2.14, adapt.Ned Batchelder2022-06-021-0/+1
|
* refactor: move this so I can use it ad-hoc more easilyNed Batchelder2021-11-161-1/+23
|
* refactor: specialize exceptionsNed Batchelder2021-11-141-4/+4
| | | | | | 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.
* feat: 'debug data' now enumerates combinable files alsoNed Batchelder2021-11-131-15/+26
|
* feat: `coverage combine` now prints messages naming the files being ↵Ned Batchelder2021-08-051-1/+5
| | | | combined. #1105 (#1208)
* fix: correct previous refactoringsNed Batchelder2021-07-281-1/+1
| | | | | File names should not be rendered with !r, since on Windows that will produce double backslashes, which only confuses people.
* refactor: convert %-strings to f-stringsNed Batchelder2021-07-281-1/+1
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+2
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-4/+4
|
* Add combine --keep (#1110)Éric Larivière2021-01-301-5/+6
| | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long
* Remove the JSON data codeNed Batchelder2019-07-101-707/+10
|
* Fix typoMin ho Kim2019-07-081-1/+1
|
* Only compute contexts in HTML coverage when the option is specified. (For ↵Stephan Richter2019-06-101-0/+1
| | | | large coverage data sets, reporting the context can be expensive.)
* Add ability to report contexts for all lines of a file.Stephan Richter2019-06-101-0/+3
|
* Support for multiple, glob-based contexts in result queries.Stephan Richter2019-06-101-2/+13
|
* Don't name new method the same as old attributeNed Batchelder2019-04-201-1/+1
|
* Fix #708: .filename is private, and don't combine over ourselvesNed Batchelder2019-04-151-1/+7
|
* Debug-time environment variables can be set with set_env.pyNed Batchelder2018-11-031-0/+1
|
* Fewer conditionals for debug outputNed Batchelder2018-10-131-12/+13
|
* More debugging.Ned Batchelder2018-09-211-0/+2
|
* measured_contexts() and two simple tests of the global contextNed Batchelder2018-09-211-0/+5
|
* Change measured_files to a setNed Batchelder2018-09-211-2/+2
|
* Make SQLite the default storageNed Batchelder2018-08-241-1/+1
|
* Use pid-random suffixes for SQL filesNed Batchelder2018-08-141-9/+12
|
* Remove an unused debugging thingNed Batchelder2018-08-141-7/+1
|
* Start moving suffix to constructorNed Batchelder2018-08-121-2/+4
|
* Implement moreNed Batchelder2018-08-111-3/+3
|
* Move line_counts out of the data classesNed Batchelder2018-08-101-19/+20
|
* Move a common method outside the data classesNed Batchelder2018-08-101-14/+15
|
* Keep the env var naming schemeNed Batchelder2018-08-091-1/+1
|
* Pull combine_parallel_data out of CoverageDataNed Batchelder2018-08-041-65/+69
|
* Make writing data fasterNed Batchelder2018-08-031-3/+3
|
* Move sqlite into sqldata.pyNed Batchelder2018-07-311-118/+1
|
* WIP WIP WIPNed Batchelder2018-07-301-0/+121
|
* Make file operations implicit on constructed filenameNed Batchelder2018-07-231-10/+16
|
* CoverageData now also handles file operationsNed Batchelder2018-07-231-145/+127
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Raise an error if combine can't find usable data files. #629Ned Batchelder2018-01-211-0/+5
|
* Allow plugins to report files they haven't executed.Ned Batchelder2017-03-281-2/+9
| | | | By Emil Madsen, from: https://github.com/nedbat/coveragepy/pull/28