aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint3
1 files changed, 2 insertions, 1 deletions
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");
}
}