mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-04 22:06:52 -04:00
lint: warn about unlinkified links
This commit is contained in:
@@ -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]"),
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user