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/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-test-examples-0.0.13.tgz
NetBSD 10.0aarch64py311-test-examples-0.0.13.tgz
NetBSD 10.0aarch64py312-test-examples-0.0.13.tgz
NetBSD 10.0earmv7hfpy310-test-examples-0.0.13.tgz
NetBSD 10.0earmv7hfpy311-test-examples-0.0.13.tgz
NetBSD 10.0earmv7hfpy312-test-examples-0.0.13.tgz
NetBSD 10.0i386py310-test-examples-0.0.13.tgz
NetBSD 10.0i386py311-test-examples-0.0.13.tgz
NetBSD 10.0i386py312-test-examples-0.0.13.tgz
NetBSD 10.0x86_64py310-test-examples-0.0.13.tgz
NetBSD 10.0x86_64py311-test-examples-0.0.13.tgz
NetBSD 10.0x86_64py312-test-examples-0.0.13.tgz
NetBSD 9.0i386py310-test-examples-0.0.13.tgz
NetBSD 9.0i386py311-test-examples-0.0.13.tgz
NetBSD 9.0i386py312-test-examples-0.0.13.tgz
NetBSD 9.0x86_64py310-test-examples-0.0.13.tgz
NetBSD 9.0x86_64py311-test-examples-0.0.13.tgz
NetBSD 9.0x86_64py312-test-examples-0.0.13.tgz
NetBSD 9.3x86_64py310-test-examples-0.0.13.tgz
NetBSD 9.3x86_64py311-test-examples-0.0.13.tgz
NetBSD 9.3x86_64py312-test-examples-0.0.13.tgz

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.