chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7b8b9
)
lint: don't take commas as punctuation
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:32:45 +0000
(15:32 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:32:45 +0000
(15:32 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 9d6e521ae742d797dc1a6e852f9903ac2c8cdbea..4f17914af209b0ab5acb15b8ec257dd88e96dc6a 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-122,7
+122,7
@@
regex_pedantic = {
'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"),
],
}