Language

Package: python-pytest-examples @ 0.0.10

Synopsis

Pytest plugin for testing examples in docstrings and markdown files

Description

Pytest-examples provides functionality for testing Python code examples in docstrings and markdown files, with its main features being:

  • 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

Home page
https://pypi.org/project/pytest-examples/
Location
License

Lint warnings

LinterMessageLocation
inputs-should-be-native

Identify inputs that should be native inputs

'python-pytest' should probably be a native input
  • gnu/packages/check.scm (line: 1829, column: 2)
formatting

Look for formatting issues in the source

line 1868 is way too long (91 characters)
  • gnu/packages/check.scm (line: 1868, column: 0)