summaryrefslogtreecommitdiff
path: root/maint/postprocess_coverage.py
Commit message (Collapse)AuthorAgeFilesLines
* Add changes in `maint`Arturo Marquez2022-01-261-1/+1
| | | | Follows up on changes from https://gitlab.torproject.org/trinity-1686a/arti/-/merge_requests/2/diffs#bc2cc73a8917fa6fed183148df69119665eb4e55
* Python does not have quadruple-quote.Nick Mathewson2021-12-021-1/+1
| | | | | Fix a bug in postprocess_coverage.py that stuck a big row of ' characters in its output.
* Postprocess coverage index.html with python insteadNick Mathewson2021-12-011-0/+119
This change jettisons the awk and ed dependencies and instead uses a real HTML parser, via the BeautifulSoup library in python. Using BeautifulSoup lets us do trickier stuff, like actually extracting the coverage totals and adding our own table, with per-crate coverage. The script only does this post-processing when it finds python3; the script exits with an error if BeautifulSoup isn't installed.