Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: don't hold data so that Analysis can be picklednedbat/picklable | Ned Batchelder | 2022-12-08 | 3 | -31/+17 |
| | |||||
* | chore: bump version | Ned Batchelder | 2022-12-03 | 1 | -2/+2 |
| | |||||
* | docs: prep for 7.0.0b1 | Ned Batchelder | 2022-12-03 | 1 | -1/+1 |
| | |||||
* | fix: when checking source existence for remapping, zipfiles are ok | Ned Batchelder | 2022-12-01 | 2 | -15/+43 |
| | |||||
* | fix: prevent infinite recursion | Ned Batchelder | 2022-12-01 | 1 | -3/+8 |
| | | | | | If using relative file paths, and a file remapping failed, we'd get an infinite recursion. | ||||
* | feat: file paths are only remapped if the result exists | Ned Batchelder | 2022-11-29 | 1 | -2/+7 |
| | |||||
* | style: fix spelling | Ned Batchelder | 2022-11-28 | 7 | -11/+10 |
| | | | | un-executed, white space, time stamp. | ||||
* | build: next version will be 7.0 | Ned Batchelder | 2022-11-28 | 2 | -2/+2 |
| | |||||
* | refactor: ensure all sqlite cursors are closed | Ned Batchelder | 2022-11-27 | 1 | -93/+131 |
| | |||||
* | refactor: SimpleReprMixing wasn't simple, it was auto | Ned Batchelder | 2022-11-27 | 3 | -10/+10 |
| | | | | Also, I'm not sure I like it as a mixin... | ||||
* | feat: implicit path mapping during reporting. #1212 | Ned Batchelder | 2022-11-27 | 2 | -11/+32 |
| | |||||
* | style: long arg lists should be one per line | Ned Batchelder | 2022-11-26 | 1 | -51/+142 |
| | |||||
* | perf: more combine speed-ups | Ned Batchelder | 2022-11-20 | 1 | -7/+14 |
| | | | | | | | 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. | ||||
* | build: allow for .devN version numbers | Ned Batchelder | 2022-11-17 | 1 | -7/+11 |
| | |||||
* | refactor, docs: clean-up for #1387 | Ned Batchelder | 2022-11-17 | 2 | -7/+13 |
| | |||||
* | feat: added support for finding unexecuted namespace packages (#1387) | Felix Horvat | 2022-11-17 | 4 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | * add support for namespace packages * fixed typo * update documentation * fixed lint issues * changed versionadded * convert to config setting * removed pure formatting changes * code review changes Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | feat: complete removal of `[run] note` | Ned Batchelder | 2022-11-11 | 2 | -5/+0 |
| | |||||
* | fix: path-mapped results shouldn't start with ./ | Ned Batchelder | 2022-11-08 | 1 | -0/+3 |
| | | | | Unless the actual result in the config starts with ./ | ||||
* | test: this loop never finishes, and that's fine | Ned Batchelder | 2022-11-08 | 1 | -1/+1 |
| | | | | Because the last pattern in G2RX_TOKENS is ".", so it always matches. | ||||
* | perf: hash data files during combining to avoid unneeded work. #1483 | Ned Batchelder | 2022-11-08 | 2 | -29/+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%. | ||||
* | refactor: remove mention of Python 2 unicode | Ned Batchelder | 2022-11-06 | 1 | -2/+1 |
| | |||||
* | refactor: no need for special handling of compiling unicode source | Ned Batchelder | 2022-11-06 | 3 | -40/+4 |
| | | | | This was a holdover from Python 2 days. | ||||
* | fix: only accept known values for --format | Ned Batchelder | 2022-11-06 | 1 | -1/+2 |
| | |||||
* | fix: don't write two rules for an empty table. | Ned Batchelder | 2022-11-06 | 1 | -1/+3 |
| | |||||
* | fix: an empty file shouldn't fail with --fail-under=99. #1470 | Ned Batchelder | 2022-11-06 | 1 | -1/+1 |
| | |||||
* | feat: --format=total writes just the total number | Ned Batchelder | 2022-11-06 | 3 | -6/+13 |
| | |||||
* | refactor: human sorting | Ned Batchelder | 2022-11-06 | 3 | -10/+13 |
| | |||||
* | refactor: more clean up of report table code | Ned Batchelder | 2022-11-05 | 1 | -41/+38 |
| | |||||
* | refactor: use `format` wherever we can | Ned Batchelder | 2022-11-05 | 4 | -11/+11 |
| | |||||
* | refactor: clean up of markdown table support | Ned Batchelder | 2022-11-05 | 1 | -26/+27 |
| | |||||
* | feat: report terminal output in Markdown Table format #1418 (#1479) | stepeos | 2022-11-05 | 4 | -56/+169 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactoring normal reporting text output * implemented markdown feature from #1418 * minor changes * fixed text output * fixed precision for text and markdown report format * minor changes * finished testing for markdown format feature * fixed testing outside test_summary.py * removed fixed-length widespace padding for tests * removed whitespaces * refactoring, fixing docs, rewriting cmd args * fixing code quality * implementing requested changes * doc fix * test: add another test of correct report formatting * fixed precision printing test * style: adjust the formatting Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | refactor: avoid RawConfigParser, and use super() | Ned Batchelder | 2022-11-03 | 1 | -10/+10 |
| | |||||
* | fix: properly measure strange use of wildcard alternatives in match/case. #1421 | Ned Batchelder | 2022-11-03 | 1 | -1/+4 |
| | |||||
* | build: bump version | Ned Batchelder | 2022-10-31 | 1 | -1/+1 |
| | |||||
* | docs: prep for 6.6.0b16.6.0b1 | Ned Batchelder | 2022-10-31 | 1 | -1/+1 |
| | |||||
* | fix: more relative_files=true fixes. #1280 | Ned Batchelder | 2022-10-30 | 2 | -2/+10 |
| | |||||
* | fix: use glob matching instead of fnmatch. #1407 | Ned Batchelder | 2022-10-30 | 3 | -30/+61 |
| | | | | | | | I didn't understand that fnmatch considers the entire string to be a filename, even if it has slashes in it. This led to incorrect matching. Now we use our own implementation of glob matching to get the correct behavior. | ||||
* | test: correct some config tests, and fully cover tomlconfig.py | Ned Batchelder | 2022-10-28 | 1 | -7/+4 |
| | |||||
* | fix: in toml config, only apply environment substitution to coverage ↵ | Ned Batchelder | 2022-10-28 | 1 | -22/+47 |
| | | | | settings. #1481 | ||||
* | build: 3.11.0 and 3.12.0a1 are available | Ned Batchelder | 2022-10-27 | 1 | -1/+0 |
| | |||||
* | fix: can't use PYPYVERSION without checking PYPY first | Ned Batchelder | 2022-10-19 | 1 | -1/+4 |
| | |||||
* | docs: updates for implicit relative path mapping | Ned Batchelder | 2022-10-15 | 1 | -2/+2 |
| | |||||
* | feat: implicitly combine relative paths | Ned Batchelder | 2022-10-15 | 3 | -11/+25 |
| | |||||
* | refactor: since we are showing regexes, make them a bit simpler | Ned Batchelder | 2022-10-15 | 1 | -1/+5 |
| | | | | | | The old code would always wrap the regex in a needless `(?s:...)` parenthesis. Path aliases are always single regexes, so they don't need that extra wrapping. This makes logged path maps easier to understand. | ||||
* | fix: */foo matches "foo/x.py", to help with combining relative file names. #991 | Ned Batchelder | 2022-10-15 | 2 | -1/+3 |
| | |||||
* | refactor: remove minor pre-3.7 complexity | Ned Batchelder | 2022-10-02 | 1 | -3/+2 |
| | |||||
* | build: bump version | Ned Batchelder | 2022-09-29 | 1 | -1/+1 |
| | |||||
* | build: prep for 6.5.0 | Ned Batchelder | 2022-09-29 | 1 | -1/+1 |
| | |||||
* | fix: keep negative arc values | Ned Batchelder | 2022-09-29 | 1 | -1/+1 |
| | |||||
* | feat: include branches taken and missed in JSON report. #1425 | Christoph Blessing | 2022-09-29 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | Added more branches to the code whose coverage is checked. Add branch details to json report The json report now includes for each branch which branches have been executed, missed and what the percentage of covered branches was. Add exiting branch arc to json report test Update branch details format Executed and missing branch arcs are stored in the fields named 'executed_branches' and 'missing_branches' respectively. Both fields contain a list of two element lists. The first element represents the source line number and the second one the target line number. Exit branches have their target line number set to 0. Fix linting errors |