skip to navigation
skip to content

pytest-check-links 0.2.0

Check links in files

# pytest-check-links

pytest plugin that checks URLs for HTML-containing files.

Supported files:

  • .html
  • .md (TODO: select renderer)
  • .ipynb (requires nbconvert)

Install:

pip install pytest-check-links

Use:

pytest –check-links mynotebook.ipynb

TODO:

  • pick a markdown renderer (probably commonmark) or make the markdown renderer pluggable
  • options for validating links (allow absolute links, only remote or local, etc.)
  • check internal links (#anchors)
  • find URLs in Python docstrings
  • test myself, obvs!
 
File Type Py Version Uploaded on Size
pytest_check_links-0.2.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-04-04 6KB
pytest_check_links-0.2.0.tar.gz (md5) Source 2017-04-04 6KB