Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: don't hold data so that Analysis can be picklednedbat/picklable | Ned Batchelder | 2022-12-08 | 1 | -1/+1 |
| | |||||
* | fix: next/prev links in HTML report don't link to skipped files. | Ned Batchelder | 2022-05-19 | 1 | -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 shortcuts | Ned Batchelder | 2022-05-19 | 1 | -3/+2 |
| | |||||
* | feat: more html keyboard shortcuts | J. M. F. Tsang | 2022-05-19 | 1 | -6/+55 |
| | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -3/+3 |
| | |||||
* | fix: don't write a .gitignore unless the directory is empty | Ned Batchelder | 2022-01-11 | 1 | -3/+6 |
| | |||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -2/+2 |
| | | | | | | 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: a plural helper | Ned Batchelder | 2021-11-13 | 1 | -11/+5 |
| | |||||
* | fix: don't overwrite a .gitignore in the html output directory. #1244nedbat/1244-again | Ned Batchelder | 2021-11-12 | 1 | -2/+4 |
| | |||||
* | feat: html output directory gets a .gitignore file. #1244 | Ned Batchelder | 2021-10-27 | 1 | -0/+5 |
| | |||||
* | refactor: no more need for a search path for static files | Ned Batchelder | 2021-10-23 | 1 | -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 now | Septatrix | 2021-10-23 | 1 | -5/+0 |
| | | | | This is squashed from pull request #1248 | ||||
* | fix: use human sorting on human-readable things | Ned Batchelder | 2021-10-12 | 1 | -1/+2 |
| | |||||
* | fix: contexts_by_lineno now returns a true dict | Ned Batchelder | 2021-10-09 | 1 | -1/+1 |
| | |||||
* | feat: mention skipped file counts in the HTML report. #1163 | Ned Batchelder | 2021-08-06 | 1 | -1/+21 |
| | |||||
* | feat: HTML report now says where the report is. #1195 (#1207) | Ned Batchelder | 2021-08-05 | 1 | -1/+3 |
| | |||||
* | refactor: remove globals from Numbers | Ned Batchelder | 2021-06-01 | 1 | -1/+1 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -2/+2 |
| | |||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 1 | -12/+12 |
| | |||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 1 | -1/+1 |
| | |||||
* | refactor: remove yet more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -3/+4 |
| | | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace | ||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS | ||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -3/+0 |
| | |||||
* | skip_covered and skip_empty for HTML. #1090 | Ned Batchelder | 2021-01-10 | 1 | -2/+10 |
| | |||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 1 | -1/+1 |
| | |||||
* | A favicon for the HTML report | Ned Batchelder | 2020-12-05 | 1 | -0/+1 |
| | |||||
* | Displaying timezone information in HTML report (#960) | Xie Yanbo | 2020-07-23 | 1 | -2/+2 |
| | | | | | | | | * Displaying timezone information in HTML report * A helpber to format datetime with local timezone * No backward compatibility with older python versions | ||||
* | fix context reporting for relative_files | David Szotten | 2019-12-21 | 1 | -1/+1 |
| | | | | | | fix reporting of contexts when `relative_files = True` fixes #900 | ||||
* | Remove unneeded variable initialization | Ned Batchelder | 2019-11-09 | 1 | -3/+0 |
| | |||||
* | Optionally skip empty files in reports | reybog90 | 2019-11-01 | 1 | -0/+6 |
| | |||||
* | Better presentation of contexts. #855 | Ned Batchelder | 2019-10-13 | 1 | -3/+12 |
| | |||||
* | Warn if asked to show context but none were measured. #851 | Ned Batchelder | 2019-10-10 | 1 | -0/+3 |
| | |||||
* | Clearer logic | Ned Batchelder | 2019-10-02 | 1 | -2/+2 |
| | |||||
* | HTML: Mark things to show instead of to hide. | Ned Batchelder | 2019-07-06 | 1 | -6/+4 |
| | | | | | | | | | | Also made some other changes along the way: * Scroll bar markers change as the selected categories change. * We don't use css class 'stm' for anything, get rid of it. * Better sass use all around. | ||||
* | Clean up and test filtering contexts for reporting | Ned Batchelder | 2019-07-01 | 1 | -2/+3 |
| | |||||
* | Context reporting improvements and test | Ned Batchelder | 2019-06-30 | 1 | -2/+2 |
| | | | | | Contexts should only be reported on lines that are marked as executed. The empty outer context is now reported as "(empty)". | ||||
* | Split HtmlReporter to get at data | Ned Batchelder | 2019-06-19 | 1 | -71/+83 |
| | |||||
* | Remove ShiningPanda hack | Ned Batchelder | 2019-06-17 | 1 | -7/+0 |
| | |||||
* | A better name | Ned Batchelder | 2019-06-17 | 1 | -6/+6 |
| | |||||
* | Fix unicode for Py2 | Ned Batchelder | 2019-06-17 | 1 | -6/+6 |
| | |||||
* | Use an object instead of a dict for the report data | Ned Batchelder | 2019-06-17 | 1 | -35/+35 |
| | |||||
* | Move more into the template globals | Ned Batchelder | 2019-06-17 | 1 | -11/+15 |
| | |||||
* | Make the incremental checker a little smarter. | Ned Batchelder | 2019-06-17 | 1 | -71/+74 |
| | |||||
* | No need to pass coverage/config separately everywhere | Ned Batchelder | 2019-06-17 | 1 | -3/+3 |
| | |||||
* | Move css class constants to class-level | Ned Batchelder | 2019-06-17 | 1 | -14/+14 |
| | |||||
* | Move HTML concerns out of data_for_file | Ned Batchelder | 2019-06-17 | 1 | -22/+34 |
| | |||||
* | Refactor for better testability | Ned Batchelder | 2019-06-17 | 1 | -47/+51 |
| | |||||
* | Get rid of Reporter base class | Ned Batchelder | 2019-06-16 | 1 | -5/+7 |
| | |||||
* | Reporter base class shouldn't be responsible for directories | Ned Batchelder | 2019-06-15 | 1 | -2/+5 |
| | |||||
* | Include the template source in the hash to make development easier | Ned Batchelder | 2019-06-12 | 1 | -2/+4 |
| |