mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
lint: move punctuation warnings out of pedantic
This commit is contained in:
parent
184ae8e2f6
commit
ce5922d0a1
@ -78,6 +78,8 @@ regex_warnings = {
|
||||
"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"),
|
||||
(re.compile(r'.*[a-z0-9][.!?]( |$)'),
|
||||
"Punctuation should be avoided"),
|
||||
],
|
||||
'Description': [
|
||||
(re.compile(r'^No description available$'),
|
||||
@ -96,10 +98,6 @@ regex_pedantic = {
|
||||
(re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'),
|
||||
"/issues is often enough on its own"),
|
||||
],
|
||||
'Summary': [
|
||||
(re.compile(r'.*[a-z0-9][.!?][ $]'),
|
||||
"Punctuation should be avoided"),
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user