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


Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

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 Apr 4, 2017
pytest_check_links-0.2.0.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None Apr 4, 2017

Supported by

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