BSD Ports

devel/py-pytest-examples 0.0.18 MidnightBSD

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

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
8af06753b2
License
mit
Categories
devel, python

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pytest-examples0.0.18
FreeBSDdevel/py-pytest-examples0.0.18
HardenedBSDdevel/py-pytest-examples0.0.18
GhostBSDdevel/py-pytest-examples0.0.18

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytest-examples

From mports:

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

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-examples>0:devel/py-pytest-examples

Dependencies

As this port's Makefile names them.

Build 1

Runtime 3

Test 3

Build dependencies 1
Run dependencies 3

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 1

DateCommitCreditsLog message
8af06753b2 Lucas Holt databases/rubygem-flipper-active_record-rails70: update to 1.3.6
Match the flipper-gitlab provider series so fake-qa can satisfy the gemspec flipper dependency. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>