mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 08:51:06 +03:00
lint: warn about unlinkified links
This commit is contained in:
parent
e0870f6e76
commit
ce8f74c98e
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue