summaryrefslogtreecommitdiff
path: root/maint/postprocess_coverage.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.