13 Commits

Author SHA1 Message Date
Denis Rouzaud
c2d98700a3 add analysis to clang-format 2024-12-05 13:19:50 +01:00
Denis Rouzaud
6933b1352f
fix prepare_commit.sh (#59713)
* fix prepare_commit.sh

* fix regex
2024-12-03 08:24:03 +01:00
Denis Rouzaud
5b60c23a49 discard non-sipified directories in prepare_commit and verify_indent 2024-11-30 15:07:24 +01:00
Denis Rouzaud
8083a6dae7 remove python files from prepare_commit 2024-11-29 15:38:02 +01:00
Nyall Dawson
849ff14dc8 Misc updates 2024-08-13 20:28:55 +10:00
Julien Cabieces
92cc39f86e Trigger prepare_commit on PyQt6 files also 2023-12-13 05:36:44 +10:00
Sandro Santilli
07345e52c4 Run doxygen layout checker in prepare-commit script, when possible
Helps preventing useless CI wait like in here:
https://github.com/qgis/QGIS/actions/runs/6518501862/job/17703989815?pr=54934

Allow passing list of files to check to test_doxygen_layout.sh script
2023-10-23 13:15:57 +10:00
Sandro Santilli
c8d00d0389 Avoid early with error if no shell scripts are changed 2023-10-11 23:21:58 +02:00
Sandro Santilli
7e43fba334 Only run shellcheck against *shell* modified files 2023-10-11 23:21:58 +02:00
Sandro Santilli
b84393e37d Run shellcheck only on modified shell files 2023-10-09 19:20:08 +02:00
Sandro Santilli
fe1d167d9f Have prepare_commit always run spell and shell checkers when possible
Print warnings if requirements are not met
2023-10-09 04:01:33 +02:00
Loïc Bartoletti
a72ffafb8f Have to use g prefix for gnu tools also on *BSD 2022-03-17 08:18:45 +10:00
Nyall Dawson
85d543a739 Rename scripts to swap "-" for "_" for consistency
We had a confusing and unpredictable mix of script names with
- vs _, e.g. scripts/prepare-commit.sh vs scripts/sipify_all.sh

This unifies with the preferred _ convention for script file names
2020-04-28 02:22:33 +10:00