Skip to main content

Check links in files

Project description

# 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest_check_links-0.2.0-py2.py3-none-any.whl (6.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pytest_check_links-0.2.0.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page