From b7d71f2e342fa3bbcfa1afa957cfeea4584bc9b7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 19 Aug 2026 01:14:07 -0400 Subject: sbolint: README length exception for export commands. --- sbolint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbolint') diff --git a/sbolint b/sbolint index 132749d..d994a8d 100755 --- a/sbolint +++ b/sbolint @@ -957,7 +957,8 @@ sub check_readme { # not much we can do about them. # 20260608 bkw: also commands beginning with a prompt character, # # or $. - if(grep { !/^[#\$] / && !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) { + # 20260819 bkw: also 'export' commands (e.g. python3-cython-opt) + if(grep { !/^export\s+[A-Z]/ && !/^[#\$] / && !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) { log_warning("README has lines >$maxlen characters"); } } -- cgit v1.2.3