Metadata-Version: 2.1
Name: pytest-check-links
Version: 0.3.2
Summary: Check links in files
Home-page: https://github.com/minrk/pytest-check-links
Author: Min RK
Author-email: benjaminrk@gmail.com
License: BSD-3-Clause
Keywords: setup,distutils
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Testing
Requires-Dist: pytest (>=2.8)
Requires-Dist: html5lib
Requires-Dist: six
Requires-Dist: nbformat
Requires-Dist: nbconvert
Requires-Dist: docutils

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



