Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style: use good style for annotated defaults parameters | Ned Batchelder | 2023-01-05 | 1 | -1/+1 |
| | |||||
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | mypy: test_coverage.py, test_data.py | Ned Batchelder | 2023-01-04 | 1 | -84/+97 |
| | |||||
* | feat: file paths are only remapped if the result exists | Ned Batchelder | 2022-11-29 | 1 | -0/+3 |
| | |||||
* | perf: more combine speed-ups | Ned Batchelder | 2022-11-20 | 1 | -0/+20 |
| | | | | | | | By avoiding writing metadata that differs but doesn't change the data, we get a higher hitrate on the hash-checking when combining. Use --debug=process to include these details for debugging. | ||||
* | test: uncomment an assert | Ned Batchelder | 2022-10-15 | 1 | -2/+1 |
| | |||||
* | test: add a test for #1405 | Ned Batchelder | 2022-08-06 | 1 | -0/+27 |
| | |||||
* | fix: don't create a data file when just trying to read one. #13286.4 | Ned Batchelder | 2022-05-22 | 1 | -0/+7 |
| | |||||
* | feat: a new debug option `sqldata` shows all the data being written to the db. | Ned Batchelder | 2022-05-22 | 1 | -5/+12 |
| | |||||
* | fix: CoverageData(no_disk=True).update() now works. #1323 | Ned Batchelder | 2022-05-21 | 1 | -0/+16 |
| | |||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -1/+1 |
| | |||||
* | test: add one sql test to cover an unlikely case in the code | Ned Batchelder | 2022-01-21 | 1 | -5/+13 |
| | |||||
* | fix: create the db as needed when accessed | Ned Batchelder | 2022-01-20 | 1 | -15/+2 |
| | |||||
* | build: make upgradenedbat/upgrade-with-kits | Ned Batchelder | 2021-11-30 | 1 | -1/+1 |
| | |||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -21/+21 |
| | | | | | | 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. | ||||
* | refactor: add_lines only needs an iterable of ints | Ned Batchelder | 2021-11-13 | 1 | -26/+26 |
| | | | | | The old code expected a dict with int keys, but iterables are simpler, so get rid of a lot of dict.fromkeys() nonsense. | ||||
* | test: cover the last edge cases in sqldata.py | Ned Batchelder | 2021-10-10 | 1 | -2/+12 |
| | |||||
* | fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-tests | Ned Batchelder | 2021-10-10 | 1 | -0/+8 |
| | |||||
* | refactor: simplify some strange string formatting | Ned Batchelder | 2021-10-10 | 1 | -3/+3 |
| | |||||
* | test: test two add_file_tracer possibilities | Ned Batchelder | 2021-10-10 | 1 | -0/+22 |
| | |||||
* | refactor: no need for maybe-u prefixes in test regexes | Ned Batchelder | 2021-10-10 | 1 | -5/+5 |
| | | | | That was for Python 2, which we don't support anymore. | ||||
* | test: run test_data.py with debugging on | Ned Batchelder | 2021-10-10 | 1 | -96/+110 |
| | |||||
* | refactor: remove a mixin class from tests | Ned Batchelder | 2021-10-10 | 1 | -67/+64 |
| | |||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 1 | -2/+2 |
| | |||||
* | fix: contexts_by_lineno now returns a true dict | Ned Batchelder | 2021-10-09 | 1 | -3/+24 |
| | |||||
* | test: add a test of touching files in an empty CoverageData | Ned Batchelder | 2021-10-09 | 1 | -0/+6 |
| | |||||
* | test: set_query_contexts takes regex, make the examples look like regex | Ned Batchelder | 2021-10-09 | 1 | -6/+6 |
| | |||||
* | refactor: use sets to collect data | Ned Batchelder | 2021-08-15 | 1 | -34/+32 |
| | | | | | | | Coverage.py predates sets as a built-in data structure, so the file data collection has long been dicts with None as the values. Sets are available to us now (since Python 2.4 in 2004, which coverage.py dropped support for in 2014!), we use sets. | ||||
* | build: mark a line as not covered | Ned Batchelder | 2021-05-30 | 1 | -1/+1 |
| | |||||
* | fix: make data collection operations thread-safe | Ned Batchelder | 2021-05-03 | 1 | -1/+6 |
| | |||||
* | test: remove a changed test that wasn't supposed to be part of bb73791b | Ned Batchelder | 2021-05-03 | 1 | -6/+1 |
| | |||||
* | refactor: convert more %-formatting to f-strings | Ned Batchelder | 2021-05-02 | 1 | -1/+6 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 1 | -4/+0 |
| | | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it. | ||||
* | test: have pytest collect test classes uniformly | Ned Batchelder | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | fix: improve an error message. #803 | Ned Batchelder | 2021-02-28 | 1 | -2/+4 |
| | | | | Fixes #803. | ||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -6/+7 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -7/+9 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52 | ||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -82/+77 |
| | | | | One step of moving to pure pytest tests. | ||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -2/+2 |
| | |||||
* | '[run] note' is no longer supported. | Ned Batchelder | 2019-11-09 | 1 | -32/+0 |
| | |||||
* | Setting query context has to be done with a separate method call | Ned Batchelder | 2019-10-02 | 1 | -7/+9 |
| | |||||
* | Updating with an empty data is ok | Ned Batchelder | 2019-09-03 | 1 | -0/+16 |
| | | | | | With no arc or line data, it used to choose lines arbitrarily, which would fail if an empty data was updating an arc data. | ||||
* | No need for format indexes (mostly) | Ned Batchelder | 2019-09-01 | 1 | -2/+2 |
| | |||||
* | Refactor numbits into their own files | Ned Batchelder | 2019-07-31 | 1 | -30/+0 |
| | |||||
* | z-compressed dumps and loads | Ned Batchelder | 2019-07-19 | 1 | -0/+28 |
| | |||||
* | Bitmaps for line numbers, 10% of the size. | Ned Batchelder | 2019-07-15 | 1 | -0/+30 |
| |