mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Remove now unnecessary regex_pedantic
This commit is contained in:
parent
56c855c6b1
commit
2231e72812
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user