From 4ea1bda1ed5389eec8aaed964a2e2ad325f312b6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 May 2023 14:37:01 +0200 Subject: [PATCH] Bug 30002: Adjust perltidy Remove the following 3 options that are not available in perltidy v20190601 that is the version shipped with bullseye --add-terminal-newline --valign-exclusion-list --extended-continuation-indentation Extend max line length --maximum-line-length=120 Prevent perltidy to format lists (see bug 30002 comment 10) --break-at-old-comma-breakpoints Signed-off-by: Tomas Cohen Arazi (cherry picked from commit d46a959a696eb88bc99279ee38838d4bf6291b47) Signed-off-by: Martin Renvoize (cherry picked from commit 761051893eb0f0ad6fca5822503e5ef874f15958) Signed-off-by: Matt Blenkinsop --- .perltidyrc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.perltidyrc b/.perltidyrc index 17df89753b..a37e2e2ffc 100644 --- a/.perltidyrc +++ b/.perltidyrc @@ -3,17 +3,16 @@ --character-encoding=utf8 --output-line-ending=unix ---add-terminal-newline --iterations=2 # } else { --cuddled-else -# do not vertically align "qw()" after use ---valign-exclusion-list='q' - # Use the full indent size for continuations --continuation-indentation=4 ---extended-continuation-indentation --no-outdent-long-lines + +--maximum-line-length=120 + +--break-at-old-comma-breakpoints -- 2.39.2