mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-05 06:50:10 +01:00
lint: warn about spaces in summaries too
This commit is contained in:
parent
3ac535108a
commit
622195bf16
@ -87,6 +87,10 @@ regex_checks = {
|
|||||||
"No need to specify that the app is for Android"),
|
"No need to specify that the app is for Android"),
|
||||||
(re.compile(r'.*[a-z0-9][.!?]( |$)'),
|
(re.compile(r'.*[a-z0-9][.!?]( |$)'),
|
||||||
"Punctuation should be avoided"),
|
"Punctuation should be avoided"),
|
||||||
|
(re.compile(r'^\s'),
|
||||||
|
"Unnecessary leading space"),
|
||||||
|
(re.compile(r'.*\s$'),
|
||||||
|
"Unnecessary trailing space"),
|
||||||
],
|
],
|
||||||
'Description': [
|
'Description': [
|
||||||
(re.compile(r'^No description available$'),
|
(re.compile(r'^No description available$'),
|
||||||
|
Loading…
Reference in New Issue
Block a user