summaryrefslogtreecommitdiff
path: root/coverage/html.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: export our public names for type checking. #1564Ned Batchelder2023-02-261-1/+2
|
* mypy: html.pyNed Batchelder2023-01-121-31/+55
| | | | The squishiness of IndexInfoDict.nums is frustrating.
* mypy: control.py is checkedNed Batchelder2022-12-311-1/+1
|
* mypy: check tests/goldtest.py, tests/test_html.pyNed Batchelder2022-12-311-21/+54
|
* 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-191-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 lineNed Batchelder2022-05-011-3/+3
|
* fix: don't write a .gitignore unless the directory is emptyNed Batchelder2022-01-111-3/+6
|
* refactor: specialize exceptionsNed Batchelder2021-11-141-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 helperNed Batchelder2021-11-131-11/+5
|
* fix: don't overwrite a .gitignore in the html output directory. #1244nedbat/1244-againNed Batchelder2021-11-121-2/+4
|
* feat: html output directory gets a .gitignore file. #1244Ned Batchelder2021-10-271-0/+5
|
* refactor: no more need for a search path for static filesNed Batchelder2021-10-231-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 nowSeptatrix2021-10-231-5/+0
| | | | This is squashed from pull request #1248
* fix: use human sorting on human-readable thingsNed Batchelder2021-10-121-1/+2
|
* fix: contexts_by_lineno now returns a true dictNed Batchelder2021-10-091-1/+1
|
* feat: mention skipped file counts in the HTML report. #1163Ned Batchelder2021-08-061-1/+21
|
* feat: HTML report now says where the report is. #1195 (#1207)Ned Batchelder2021-08-051-1/+3
|
* refactor: remove globals from NumbersNed Batchelder2021-06-011-1/+1
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-2/+2
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-12/+12
|
* refactor: move the remaining backward.py code, no more backward.pyNed Batchelder2021-05-011-1/+1
|
* refactor: remove yet more unneeded backward.py shimsNed Batchelder2021-05-011-3/+4
| | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-011-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 py3Ned Batchelder2021-05-011-3/+0
|
* skip_covered and skip_empty for HTML. #1090Ned Batchelder2021-01-101-2/+10
|
* Use set literalsNed Batchelder2021-01-031-1/+1
|
* A favicon for the HTML reportNed Batchelder2020-12-051-0/+1
|
* Displaying timezone information in HTML report (#960)Xie Yanbo2020-07-231-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_filesDavid Szotten2019-12-211-1/+1
| | | | | | fix reporting of contexts when `relative_files = True` fixes #900
* Remove unneeded variable initializationNed Batchelder2019-11-091-3/+0
|
* Optionally skip empty files in reportsreybog902019-11-011-0/+6
|
* Better presentation of contexts. #855Ned Batchelder2019-10-131-3/+12
|
* Warn if asked to show context but none were measured. #851Ned Batchelder2019-10-101-0/+3
|
* Clearer logicNed Batchelder2019-10-021-2/+2
|
* HTML: Mark things to show instead of to hide.Ned Batchelder2019-07-061-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 reportingNed Batchelder2019-07-011-2/+3
|
* Context reporting improvements and testNed Batchelder2019-06-301-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 dataNed Batchelder2019-06-191-71/+83
|
* Remove ShiningPanda hackNed Batchelder2019-06-171-7/+0
|
* A better nameNed Batchelder2019-06-171-6/+6
|
* Fix unicode for Py2Ned Batchelder2019-06-171-6/+6
|
* Use an object instead of a dict for the report dataNed Batchelder2019-06-171-35/+35
|
* Move more into the template globalsNed Batchelder2019-06-171-11/+15
|
* Make the incremental checker a little smarter.Ned Batchelder2019-06-171-71/+74
|
* No need to pass coverage/config separately everywhereNed Batchelder2019-06-171-3/+3
|
* Move css class constants to class-levelNed Batchelder2019-06-171-14/+14
|
* Move HTML concerns out of data_for_fileNed Batchelder2019-06-171-22/+34
|
* Refactor for better testabilityNed Batchelder2019-06-171-47/+51
|