mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-23 01:14:24 -04:00
Avoid some false positives in the punctuation check
This commit is contained in:
@@ -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"),
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user