FreeBSD Ports

devel/py-pytest-examples 0.0.18

Py.test plugin for testing examples in docstrings and markdown files

Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
39.4 KiB, 173.3 KiB installed

Description

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.

Install

As a binary package — by origin, or by package name:

pkg install devel/py-pytest-examples
pkg install py312-pytest-examples

From the ports tree:

cd /usr/ports/devel/py-pytest-examples/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pytest-examples>0:devel/py-pytest-examples

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0.180.0.18-0.0.130.0.18
FreeBSD:14:quarterly0.0.180.0.18n/a0.0.130.0.18
FreeBSD:15:latest0.0.180.0.18n/a0.0.130.0.13
FreeBSD:15:quarterly0.0.180.0.18n/an/an/a
FreeBSD:16:latest0.0.180.0.18n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 3

Test 3

The full lists below include those, and their dependencies in turn.

All build dependencies 19
All run dependencies 24

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest_examples-0.0.18.tar.gz212379a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.