summaryrefslogtreecommitdiff
path: root/.github/vyos-linter.py
diff options
context:
space:
mode:
Diffstat (limited to '.github/vyos-linter.py')
-rw-r--r--.github/vyos-linter.py1
1 files changed, 1 insertions, 0 deletions
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')