squashed commit:

ee60a101b remove check for a `-` before/after the maintainer name. Now only checks for a : or whitespace before, and whitespace or line ending after
ff075a741 squashed commit:

previous squashed commit:

7d0fcc341 expand checks from previous commit
f7799a45b check for a space in front of the maintainer name in fmt-my-stuff

### DN42 Signature
### method: ssh-git
### mntner: G-MNT
This commit is contained in:
g_here 2024-03-19 02:44:49 -05:00
parent d61ac4aa0c
commit 3acae37b09
No known key found for this signature in database

View file

@ -9,4 +9,4 @@ fi
BASE="$(readlink -f "$0" 2>/dev/null || python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")"
BASE="$(dirname "$BASE")"
grep -lr $1 "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done
grep -lrE "(\s|:)$1(\s|\$)" "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done