mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-12 18:20:11 +01:00
lint: warn about unlinkified links
This commit is contained in:
parent
e0870f6e76
commit
ce8f74c98e
@ -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]"),
|
||||
],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user