1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

lint: don't take commas as punctuation

This commit is contained in:
Daniel Martí 2015-03-05 15:32:45 +01:00
parent 3b7b8b9bde
commit fdb71e2a41

View File

@ -122,7 +122,7 @@ regex_pedantic = {
'Summary': [
(re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE),
"No need to specify that the app is Free Software"),
(re.compile(r'.*[a-z0-9][.,!?][ $]'),
(re.compile(r'.*[a-z0-9][.!?][ $]'),
"Punctuation should be avoided"),
],
}