summaryrefslogtreecommitdiff
path: root/maint/gen_md_links
Commit message (Collapse)AuthorAgeFilesLines
* python: Fix warnings about unused variables and modules.Nick Mathewson2024-10-241-1/+0
|
* Run "black" to reformat all our pythonNick Mathewson2024-10-241-29/+34
| | | | | | | | | | | | | | | | | "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 ```
* maint/gen_md_links: Use the proper parser scriptIan Jackson2024-05-021-13/+13
|
* maint/gen_md_links: Soup up argument parserIan Jackson2024-05-021-2/+8
| | | | | | | | | I was going to want to call this from another program with a filename, which meant I needed to unparse the arguments, which meant I wanted a competent parser to feed things to. As it happens my caller doesn't use this any more, but let's keep the improvement anyway.
* maint/gen_md_links: Honour \ escapingIan Jackson2024-05-021-0/+1
|
* 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
* format python script in maintFAMASoon2022-08-171-3/+8
|
* Delete unused Enum and fileinput in maint fileFAMASoon2022-08-041-2/+1
|
* maint/gen_md_links: Add missing +x bitIan Jackson2022-02-181-0/+0
| | | | This is a program, with a main function, etc.
* rename *.py scripts to bare nameIan Jackson2022-02-181-0/+136
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.