From 54ffc00e1143294c6543504a6d9f828a3f0d7b7d Mon Sep 17 00:00:00 2001 From: urnenfeld Date: Wed, 19 Jan 2022 17:33:35 +0100 Subject: [PATCH] checkstyle: Update 80 columns rule to 100 as per coding guidelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I17d8a74ec332a0073bd9d85ce23093b285a8e2d8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4875 Reviewed-by: Jérôme Duval Tested-by: Commit checker robot --- src/tools/checkstyle/checkstyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/checkstyle/checkstyle.py b/src/tools/checkstyle/checkstyle.py index c9021e33cf..be558ff00e 100755 --- a/src/tools/checkstyle/checkstyle.py +++ b/src/tools/checkstyle/checkstyle.py @@ -54,7 +54,7 @@ def visit(result, dir, names): cppRules = {} -cppRules["Line over 80 char"] = re.compile('[^\n]{81,}') +cppRules["Line over 100 char"] = re.compile('[^\n]{101,}') cppRules["Spaces instead of tabs"] = re.compile(' ') cppRules["Missing space after control statement"] \ = re.compile('(for|if|while|switch)\(')