From e3e08b3af1f91464b33da51a6f7020283f984c48 Mon Sep 17 00:00:00 2001 From: rebortg Date: Fri, 11 Dec 2020 11:58:51 +0100 Subject: linter: fix line lenght detection, strip linebreak --- .github/vyos-linter.py | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/vyos-linter.py b/.github/vyos-linter.py index 4a8108b8..bb58786d 100644 --- a/.github/vyos-linter.py +++ b/.github/vyos-linter.py @@ -64,6 +64,7 @@ def lint_AS(cnt, line): def lint_linelen(cnt, line): + line = line.rstrip() if len(line) > 80: return (f"Line too long: len={len(line)}", cnt, 'warning') -- cgit v1.2.3