diff options
author | Damien George <damien@micropython.org> | 2024-09-10 12:43:16 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-05-12 13:47:03 +1000 |
commit | 61eedbbd1126f895f729a1cf5f9e52e42ddcd471 (patch) | |
tree | 8dba5b609384d0a44336f656cb319fc330bc92bd /tests/multi_net/udp_data_multi.py | |
parent | 487c94c2532ebb1b346afb92cb79a6b561e064be (diff) | |
download | micropython-61eedbbd1126f895f729a1cf5f9e52e42ddcd471.tar.gz micropython-61eedbbd1126f895f729a1cf5f9e52e42ddcd471.zip |
tools/verifygitlog.py: Apply stricter rules on git subject line.
There is a bit of ambiguity as to how the prefix of the git subject line
should look like. Eg `py/vm: ...` vs `py/vm.c: ...` (whether the extension
should be there or not).
This commit makes the existing CI check of the git commit message stricter,
by applying extra rules to the prefix, the bit before the : in the subject
line. It now checks that the subject prefix:
- doesn't start with unwanted bits: ., /, ports/
- doesn't have an extension: .c, .h, .cpp, .js, .rst or .md
Full error messages are given when a rule does not pass.
This helps to reduce maintainer burden by applying stricter rules, to keep
the git commit history consistent.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/multi_net/udp_data_multi.py')
0 files changed, 0 insertions, 0 deletions