mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
lint: be more strict about redundant summaries
This commit is contained in:
parent
550d907b8c
commit
7b0e8bd01d
1 changed files with 4 additions and 2 deletions
|
|
@ -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"),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue