1 suggestion
Optional improvements
[suggestion] · The expanded exclusion filter also matches unrelated source directories
Applying the existing character-class regex to every discovery rule would silently skip future shell scripts under directories such as src/test and src/node; no currently affected non-subtree script was found.
Location: test/lint/lint-shell.py:63 (head).
Details and suggested fix
src/[leveldb,secp256k1,minisketch] matches src/ followed by one character from the brackets, so it excludes paths under src/test, src/node, and src/script, not just vendored directories. Previously, only filename-discovered scripts passed through this filter; sourced-dialect files bypassed it. Combining the lists before filtering now excludes a future src/test/example containing # shellcheck shell=bash, even though the base implementation would lint it. Replace the character class with directory alternatives matching get_subtrees() in test/lint/test_runner/src/util.rs, for example r'^src/(crc32c|crypto/ctaes|ipc/libmultiprocess|leveldb|minisketch|secp256k1)/'. This retains the current included and excluded script sets while avoiding the prospective coverage gap.