summaryrefslogtreecommitdiffstats
path: root/misc/scripts/clang_tidy.sh
Commit message (Collapse)AuthorAgeFilesLines
* Fix `printf` for format checksA Thousand Ships2024-02-021-1/+1
| | | | Prevents errors with input being invalid format strings
* CI: Visibly print trailing whitespace when static checks failRémi Verschelde2023-04-051-4/+6
| | | | | | | | | GitHub Actions seems to be hiding colored whitespace, and after lots of attempts I couldn't find a way to work it around. So instead I'm using a perl expression to replace trailing spaces with `·` and tabs with `<TAB>` in the ANSI colored diff output. This ensure that they're visible, and they are properly colored as expected too.
* improve OS.get_name classref, misc/scripts fixes, remove trailing quoteNathan Franke2022-04-221-2/+2
|
* CI: Fix exclude patterns with `git ls-files`Rémi Verschelde2022-02-011-10/+2
| | | | | | | | | | Follow-up to #55785. In `black_format.sh`, the `--exclude` switch was wrongly used. It's a misnomer that only excludes _untracked_ files, arcane pathspec patterns should instead be used to exclude _tracked_ files. Using this newfound knowledge, we can also simplify the other scripts.
* simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke2022-01-291-0/+39