oc_chat
Loading...
Searching...
No Matches
py_link_check.py File Reference

Go to the source code of this file.

Classes

Namespaces

namespace  oc_chat
namespace  oc_chat.scripts

Functions

 oc_chat.scripts.py_link_check._iter_markdown_files (Path root)
str|None oc_chat.scripts.py_link_check._clean_target (str raw)
list[BrokenLink] oc_chat.scripts.py_link_check.find_broken_links (Path root)
argparse.ArgumentParser oc_chat.scripts.py_link_check._build_parser ()
int oc_chat.scripts.py_link_check.main (list[str]|None argv=None)

Variables

 oc_chat.scripts.py_link_check._LINK_RE = re.compile(r"\]\‍(([^)]+)\‍)")
tuple oc_chat.scripts.py_link_check._SKIP_PREFIXES = ("http://", "https://", "mailto:", "ftp://", "tel:", "#", "//")
 oc_chat.scripts.py_link_check._LINE_LOCATOR_RE = re.compile(r"(?::\d+)+(?:-\d+(?::\d+)?)?$")