From: Daniel Martí Date: Thu, 4 Jun 2015 13:49:00 +0000 (+0200) Subject: Remove now unnecessary regex_pedantic X-Git-Tag: 0.4.0~44 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2231e728125cdf9f4abb9b09a629535fb4aebe35;p=fdroidserver.git Remove now unnecessary regex_pedantic --- diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 7036bf2b..c8588b36 100644 --- 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(): @@ -210,13 +203,6 @@ def main(): 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']: