mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-01-26 08:18:58 -05:00
lint: be more strict about redundant summaries
This commit is contained in:
@@ -81,6 +81,10 @@ regex_warnings = {
|
||||
'Summary': [
|
||||
(re.compile(r'^$'),
|
||||
"Summary yet to be filled"),
|
||||
(re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE),
|
||||
"No need to specify that the app is Free Software"),
|
||||
(re.compile(r'.*((your|for).*android|android.*(app|device|client|port|version))', re.IGNORECASE),
|
||||
"No need to specify that the app is for Android"),
|
||||
],
|
||||
'Description': [
|
||||
(re.compile(r'^No description available$'),
|
||||
@@ -114,8 +118,6 @@ regex_pedantic = {
|
||||
"/issues is often enough on its own"),
|
||||
],
|
||||
'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][.!?][ $]'),
|
||||
"Punctuation should be avoided"),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user