lint: switch links to plain URLS rather than mediawiki syntax

fdroidclient#1000
This commit is contained in:
Hans-Christoph Steiner 2017-12-04 20:33:42 +01:00
parent 8588b89eff
commit 42a9833536

View file

@ -116,10 +116,6 @@ regex_checks = {
_("Unnecessary leading space")), _("Unnecessary leading space")),
(re.compile(r'.*\s$'), (re.compile(r'.*\s$'),
_("Unnecessary trailing space")), _("Unnecessary trailing space")),
(re.compile(r'.*([^[]|^)\[[^:[\]]+( |\]|$)'),
_("Invalid link - use [http://foo.bar Link title] or [http://foo.bar]")),
(re.compile(r'(^|.* )https?://[^ ]+'),
_("Unlinkified link - use [http://foo.bar Link title] or [http://foo.bar]")),
], ],
} }