mirror of
https://github.com/anthropics/claude-cookbooks.git
synced 2025-10-06 01:00:28 +03:00
Notebook outputs are educational content in cookbook repositories. They show users what to expect when running the code. - Remove nbstripout from all dependencies and configurations - Remove nbstripout check from CI workflow - Update documentation to explain outputs are intentional - Make validation scripts non-blocking for POC - Fix lychee configuration conflict The CI now validates notebooks without removing demonstration outputs.
25 lines
669 B
YAML
25 lines
669 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.12.12
|
|
hooks:
|
|
- id: ruff
|
|
types_or: [python, pyi, jupyter]
|
|
args: ['--fix']
|
|
- id: ruff-format
|
|
types_or: [python, pyi, jupyter]
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: check-models
|
|
name: Check Claude model usage
|
|
entry: python scripts/check_models.py
|
|
language: python
|
|
files: '\.ipynb$'
|
|
pass_filenames: false
|
|
|
|
- id: validate-notebooks
|
|
name: Validate notebook structure
|
|
entry: python scripts/validate_notebooks.py
|
|
language: python
|
|
files: '\.ipynb$'
|
|
pass_filenames: false |