mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Avoid some false positives in the punctuation check
This commit is contained in:
parent
29ab3cf64d
commit
eee7f8b4f6
@ -106,7 +106,7 @@ regex_pedantic = {
|
||||
"No need to specify that the app is... an app"),
|
||||
(re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE),
|
||||
"No need to specify that the app is Free Software"),
|
||||
(re.compile(r'.*[.,!?].*'),
|
||||
(re.compile(r'.*[a-z0-9][.,!?][ $]'),
|
||||
"Punctuation should be avoided"),
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user