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:
56c855c
)
Remove now unnecessary regex_pedantic
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 4 Jun 2015 13:49:00 +0000
(15:49 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 4 Jun 2015 13:49:00 +0000
(15:49 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 7036bf2bb86fe31a9768c74ba65738420c4da6b4..c8588b36dd1aff45b9e782c8b570aff0a8f0b23e 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-91,13
+91,6
@@
regex_warnings = {
],
}
],
}
-regex_pedantic = {
- 'Issue Tracker': [
- (re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'),
- "/issues is often enough on its own"),
- ],
-}
-
def main():
def main():
@@
-210,13
+203,6
@@
def main():
if m.match(l):
warn("%s at line '%s': %s" % (f, l, r))
if m.match(l):
warn("%s at line '%s': %s" % (f, l, r))
- # Regex pedantic checks in all kinds of fields
- if options.pedantic:
- for f in regex_pedantic:
- for m, r in regex_pedantic[f]:
- if m.match(app[f]):
- warn("%s '%s': %s" % (f, app[f], r))
-
# Build warnings
for build in app['builds']:
if build['disable']:
# Build warnings
for build in app['builds']:
if build['disable']: