mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
lint: be more strict about redundant summaries
This commit is contained in:
parent
550d907b8c
commit
7b0e8bd01d
@ -81,6 +81,10 @@ regex_warnings = {
|
|||||||
'Summary': [
|
'Summary': [
|
||||||
(re.compile(r'^$'),
|
(re.compile(r'^$'),
|
||||||
"Summary yet to be filled"),
|
"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': [
|
'Description': [
|
||||||
(re.compile(r'^No description available$'),
|
(re.compile(r'^No description available$'),
|
||||||
@ -114,8 +118,6 @@ regex_pedantic = {
|
|||||||
"/issues is often enough on its own"),
|
"/issues is often enough on its own"),
|
||||||
],
|
],
|
||||||
'Summary': [
|
'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"),
|
"Punctuation should be avoided"),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user