From: Daniel Martí Date: Wed, 15 Oct 2014 12:36:59 +0000 (+0200) Subject: Make lint check for trailing spaces X-Git-Tag: 0.3.0~44 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f90ba4747fdf155caf112801c8e69f1938609690;p=fdroidserver.git Make lint check for trailing spaces --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index d42efdf7..ff1c0c7c 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -89,6 +89,8 @@ regex_warnings = { "Invalid bulleted list"), (re.compile(r'^ '), "Unnecessary leading space"), + (re.compile(r'.* $'), + "Unnecessary trailing space"), ], }