aboutsummaryrefslogtreecommitdiff
path: root/maint/postprocess_coverage_cobertura
Commit message (Collapse)AuthorAgeFilesLines
* python: Make mypy accept postprocess_coverage_*Nick Mathewson2024-10-241-1/+16
| | | | | | This has a little complexity since beautifulsoup4 is fairly well duck-typed, but it also has type annotations to describe its duck-typing.
* python: Fix warnings about unused variables and modules.Nick Mathewson2024-10-241-1/+2
|
* Run "black" to reformat all our pythonNick Mathewson2024-10-241-1/+1
| | | | | | | | | | | | | | | | | "Black" is an "opinionated" python formatter, whose opinionatedness is somewhat in the spirit of rustfmt. This MR runs black with default settings on all of our python code in Arti. It was produced by the following commands ``` # Everything in python/ black python/ # Everything with a .py extension fd '.py$' -X black # Everything with a python shebang. git grep -l '#! */usr/bin/env *python' | xargs black ```
* shell: use /usr/bin/env instead of absolute pathsEmil Engler2023-01-251-1/+1
| | | | | | | | | | This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin
* rename *.py scripts to bare nameIan Jackson2022-02-181-0/+37
Update all references. There are three remaining hits for git-grep '\.py\b' all of which are scripts in "little-t-tor", not here in arti.