1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Remove now unnecessary regex_pedantic

This commit is contained in:
Daniel Martí 2015-06-04 15:49:00 +02:00
parent 56c855c6b1
commit 2231e72812

View File

@ -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']: