devel/py-test-examples - The NetBSD Packages Collection

Pytest plugin for testing examples in docstrings and markdown files

Pytest plugin for testing Python code examples in docstrings and markdown files.

pytest-examples can:
* lint code examples using ruff and black
* run code examples
* run code examples and check print statements are inlined correctly
  in the code

It can also update code examples in place to format them and insert
or update print statements.

Build dependencies

devel/py-hatchling devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

textproc/py-black devel/py-ruff devel/py-test lang/python311 lang/python311

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.