From 2231e728125cdf9f4abb9b09a629535fb4aebe35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 4 Jun 2015 15:49:00 +0200 Subject: [PATCH] Remove now unnecessary regex_pedantic --- fdroidserver/lint.py | 14 -------------- 1 file changed, 14 deletions(-) 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']: