From cd577a53c5691f1efba4ff32287e25d3a99b3414 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 19 Nov 2020 00:59:10 +0100 Subject: [PATCH] Add "unexpected unindent" to PyLint messages --- config/locales/de.linter.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/locales/de.linter.yml b/config/locales/de.linter.yml index b99515d7..84544f2f 100644 --- a/config/locales/de.linter.yml +++ b/config/locales/de.linter.yml @@ -75,7 +75,7 @@ de: example: EOL while scanning string literal (, line 1) name: Syntax-Fehler regex: | - (?invalid syntax|EOL while scanning string literal|EOF while scanning triple-quoted string literal|cannot assign to|expected an indented block|Missing parentheses in call to|closing parenthesis|expression cannot contain assignment, perhaps you meant|f-string expression part cannot include a backslash|f-string:|invalid character in identifier|invalid decimal literal|trailing comma not allowed without surrounding parentheses|unexpected EOF while parsing|unexpected character after line continuation character|unexpected indent|unindent does not match any outer indentation level|unmatched|inconsistent use of tabs and spaces in indentation) ?(?function call|literal|operator|set display|empty expression not allowed|single|unmatched)? ?(?:'(?[^'"]*)'\.*)? ?(?:(?Did you mean|does not match opening parenthesis|is not allowed)(?: ')?)?(?:(?.*)(?:\?|'|"))? ?\((?.*), line (?\d*)\).* + (?invalid syntax|EOL while scanning string literal|EOF while scanning triple-quoted string literal|cannot assign to|expected an indented block|Missing parentheses in call to|closing parenthesis|expression cannot contain assignment, perhaps you meant|f-string expression part cannot include a backslash|f-string:|invalid character in identifier|invalid decimal literal|trailing comma not allowed without surrounding parentheses|unexpected EOF while parsing|unexpected character after line continuation character|unexpected indent|unexpected unindent|unindent does not match any outer indentation level|unmatched|inconsistent use of tabs and spaces in indentation) ?(?function call|literal|operator|set display|empty expression not allowed|single|unmatched)? ?(?:'(?[^'"]*)'\.*)? ?(?:(?Did you mean|does not match opening parenthesis|is not allowed)(?: ')?)?(?:(?.*)(?:\?|'|"))? ?\((?.*), line (?\d*)\).* replacement: "%{what}%{what_exactly}%{actual}%{explanation}%{suggestion}" # unused: context, line log_missing: true what: @@ -95,6 +95,7 @@ de: unexpected EOF while parsing: Es wurden weitere Zeichen in dem Quellcode erwartet, diese fehlten jedoch unexpected character after line continuation character: Nach einem Backslash \ außerhalb eines Strings darf in der selben Zeile kein weiteres Zeichen folgen unexpected indent: Ungültige Einrückung + unexpected unindent: Ungültige Einrückung nach einem weiter eingerückten Code-Block unindent does not match any outer indentation level: Die Einrückung passt nicht zu einem vorherigen Teil unmatched: 'Die folgende Klammer scheint zu viel zu sein: ' inconsistent use of tabs and spaces in indentation: Gemischte Einrückung mit Leerzeichen und Tabs