pytest-notebook-policy
  • Project docs
  • Reference

Skills

A skill is a package of structured files that teaches an AI coding agent how to work with a specific tool or framework. The skill below was generated by Great Docs from this project’s documentation. Install it in your agent and it will be able to run commands, edit configuration, write content, and troubleshoot problems without step-by-step guidance from you.

Any agent — install with npx:

npx skills add https://databooth.github.io/pytest-notebook-policy/

Codex / OpenCode

Tell the agent:
Fetch the skill file at https://databooth.github.io/pytest-notebook-policy/skill.md and follow the instructions.

Manual — download the skill file:

curl -O https://databooth.github.io/pytest-notebook-policy/skill.md

Or browse the SKILL.md file.

SKILL.md

---
name: pytest-notebook-policy
description: >
  Pytest plugin for notebook policy and quality checks. Use when writing Python code that uses the pytest_notebook_policy package.
license: MIT
compatibility: Requires Python >=3.12.
---

# pytest_notebook_policy

Pytest plugin for notebook policy and quality checks

## Installation

```bash
pip install pytest-notebook-policy
```

## API overview

### Dataclasses

Dataclass definitions

- `Violation`: Violation(path: 'Path', line: 'int', code: 'str', message: 'str')

### Functions

Utility functions

- `scan_file`

## Resources

- [Full documentation](https://databooth.github.io/pytest-notebook-policy/)
- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs
- [Source code](https://github.com/DataBooth/pytest-notebook-policy)

Developed by Michael Booth.
Site created with Great Docs.