From 757881ed372b4b47df915b645a573d6431511986 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 21 Jun 2023 16:13:08 -0400 Subject: sbolint: error if slack-desc has "(short description of app)" --- sbolint | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbolint') diff --git a/sbolint b/sbolint index d95b3bd..26c45c5 100755 --- a/sbolint +++ b/sbolint @@ -880,6 +880,8 @@ sub check_slackdesc { log_error("slack-desc:$lineno: trailing whitespace after colon, on otherwise-blank line"); } elsif(length($text) && $text !~ /^ /) { log_error("slack-desc:$lineno: missing whitespace after colon, on non-blank line"); + } elsif(/\(short description of app\)/) { + log_error("slack-desc:$lineno: bad description: literally 'short description of app'"); } else { # The world is not ready for this: ###if($text =~ /\s$/) { -- cgit v1.2.3