From ce8f74c98e893b94bef43d5a2c455fbe5e3a60d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 28 Aug 2015 15:50:34 -0700 Subject: [PATCH] lint: warn about unlinkified links --- fdroidserver/lint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index b5ad2970..95ae81cf 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -105,6 +105,8 @@ regex_warnings = { "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]"), ], }