summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2020-12-11 11:58:51 +0100
committerrebortg <github@ghlr.de>2020-12-11 11:58:51 +0100
commite3e08b3af1f91464b33da51a6f7020283f984c48 (patch)
tree3e9b58789f60a6002022bf1d6f5fcd155155c03e /.github
parent23fa394cb212ecf4f26e0816ccf390f989b84970 (diff)
downloadvyos-documentation-e3e08b3af1f91464b33da51a6f7020283f984c48.tar.gz
vyos-documentation-e3e08b3af1f91464b33da51a6f7020283f984c48.zip
linter: fix line lenght detection, strip linebreak
Diffstat (limited to '.github')
-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')