Skip to content

Commit

Permalink
check_links: ignore mailto:* links
Browse files Browse the repository at this point in the history
  • Loading branch information
xairy authored and dvyukov committed Mar 1, 2019
1 parent b32a35f commit 68d9e49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/check_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def filter_link((doc, link)):
return False
if link.startswith('#'):
return False
if link.startswith('mailto'):
return False
return True

links = filter(filter_link, links)
Expand Down

0 comments on commit 68d9e49

Please sign in to comment.