mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Remove now unnecessary regex_pedantic
This commit is contained in:
parent
56c855c6b1
commit
2231e72812
1 changed files with 0 additions and 14 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue