@@ -78,7 +78,25 @@ if ! $NONINTERACTIVE; then
7878fi
7979
8080if $RUN_QUICK ; then
81- log_section " 1a/4 msgfmt --check (Syntax)"
81+ log_section " 1a/5 powrap (Zeilenumbruch auf 80 Zeichen)"
82+ if ! command -v powrap & > /dev/null; then
83+ echo " powrap nicht gefunden -- installiere mit: pip install powrap"
84+ else
85+ # Die CI formatiert nach jedem Push automatisch mit powrap und
86+ # committet das Ergebnis. Wer lokal nicht formatiert, bekommt beim
87+ # naechsten Rebase Konflikte in genau diesen Zeilen. Deshalb hier.
88+ vorher=$( git -C " $REPO_ROOT " diff --name-only -- ' *.po' | wc -l | tr -d ' ' )
89+ powrap -m 2> /dev/null
90+ nachher=$( git -C " $REPO_ROOT " diff --name-only -- ' *.po' | wc -l | tr -d ' ' )
91+ if [[ " $vorher " != " $nachher " ]]; then
92+ echo " powrap hat weitere Dateien umbrochen -- bitte mit committen."
93+ else
94+ echo " OK -- Umbruch war bereits sauber."
95+ fi
96+ pass=$(( pass + 1 ))
97+ fi
98+
99+ log_section " 1b/5 msgfmt --check (Syntax)"
82100 msgfmt_errors=0
83101 while IFS= read -r -d ' ' po; do
84102 rel=" ${po# " $REPO_ROOT " / } "
@@ -97,7 +115,7 @@ if $RUN_QUICK; then
97115 fail=$(( fail + 1 ))
98116 fi
99117
100- log_section " 1b/4 sphinx-lint (Backtick-/Rollen-Syntax)"
118+ log_section " 1c/5 sphinx-lint (Backtick-/Rollen-Syntax)"
101119 if ! command -v sphinx-lint & > /dev/null; then
102120 echo " sphinx-lint nicht gefunden -- installiere mit: pip install sphinx-lint"
103121 fail=$(( fail + 1 ))
@@ -118,7 +136,7 @@ if $RUN_QUICK; then
118136 fi
119137 fi
120138
121- log_section " 1c/4 Rollen-Konsistenz (eigener Check, kein Build noetig)"
139+ log_section " 1d/5 Rollen-Konsistenz (eigener Check, kein Build noetig)"
122140 if [[ ! -f " $CHECK_ROLES_PY " ]]; then
123141 echo " check_roles.py nicht gefunden unter $CHECK_ROLES_PY -- Schritt uebersprungen."
124142 else
@@ -129,7 +147,7 @@ if $RUN_QUICK; then
129147 fi
130148 fi
131149
132- log_section " 1d/4 Auszeichnung (ueberfluessige Backticks, Codebloecke, Literale)"
150+ log_section " 1e/5 Auszeichnung (ueberfluessige Backticks, Codebloecke, Literale)"
133151 if [[ ! -f " $CHECK_MARKUP_PY " ]]; then
134152 echo " check_markup.py nicht gefunden unter $CHECK_MARKUP_PY -- Schritt uebersprungen."
135153 else
0 commit comments