Check links in files
Project description
pytest-check-links
pytest plugin that checks URLs for HTML-containing files.
Supported files:
- .html
- .rst
- .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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest_check_links-0.3.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df548424e052ef2aee081f62e2fbc4883de5e5ad7bf28d6b3aa8e41d93c2635f |
|
MD5 | 2b129bf211d4a8c4f4df7eadc33f103f |
|
BLAKE2b-256 | e61ee02d0ee404c7050a7c4aea26a1813c47e4d47085fcdf8025a70c8344d5aa |