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 | 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
File details
Details for the file pytest_check_links-0.0.2.tar.gz
.
File metadata
- Download URL: pytest_check_links-0.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f795922061817e2a85d45512dceb3071c4dfe7560ab319f54cb1f11f37b121 |
|
MD5 | 3ac60adcb88254e49dbcfb37865a9a1c |
|
BLAKE2b-256 | cde9ebde109ef1206f326e2d7a723642090d22f888e934e201ea77fa9809c281 |
Provenance
File details
Details for the file pytest_check_links-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_check_links-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1054e9eb7c458a1d40dac535d3323d6ff2e7a256256d94608caef4da68837774 |
|
MD5 | 28956e0149d5e3b05d2759cb0cbabb80 |
|
BLAKE2b-256 | 6c6f84a7d079dece1ff9e9e10efb87f6532d9b5027cb93224267baa340671e4a |