From 792526bb2cf059faf98db28f7d06d92512076777 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 8 Jun 2026 03:41:26 -0400 Subject: Allow >72 char lines in README if prefixed with a "$ " or "# " (commands, with prompt). --- sbolint | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sbolint') diff --git a/sbolint b/sbolint index 0307433..8a35705 100755 --- a/sbolint +++ b/sbolint @@ -931,7 +931,9 @@ sub check_readme { # 20220205 bkw: don't complain about long lines if they're URLs, # not much we can do about them. - if(grep { !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) { + # 20260608 bkw: also commands beginning with a prompt character, + # # or $. + if(grep { !/^[#\$] / && !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) { log_warning("README has lines >$maxlen characters"); } } -- cgit v1.2.3