mirror of
https://github.com/anthropics/claude-cookbooks.git
synced 2025-10-06 01:00:28 +03:00
Major simplification of CI/CD: - Remove complex Python model validation scripts (400+ lines) - Let Claude handle model validation intelligently via GitHub Actions - Claude fetches latest models from docs.anthropic.com/en/docs/about-claude/models/overview.md - Add comprehensive notebook validation script for local testing - Interactive dashboard with progress tracking - Auto-fix for deprecated models - GitHub issue export format - Idempotent with state persistence - Simplify CI to use single Python version (3.11) - Update workflows to use Claude for all intelligent validation Benefits: - No more hardcoded model lists to maintain - Claude understands context (e.g., educational examples) - 50% faster CI (removed matrix strategy) - Single source of truth for models (docs site)
18 lines
471 B
YAML
18 lines
471 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: validate-notebooks
|
|
name: Validate notebook structure
|
|
entry: python scripts/validate_notebooks.py
|
|
language: python
|
|
files: '\.ipynb$'
|
|
pass_filenames: false |