Commit 980be01
feat: Make validate-frontmatter pip installable
- Created pre_commit_hooks Python package structure
- Added validate-frontmatter console script entry point
- Updated setup.py with entry_points configuration
- Updated pyproject.toml with [project.scripts] section
- Changed .pre-commit-hooks.yaml to use 'validate-frontmatter' command with language: python
- Added pyyaml>=5.0 dependency
- Created MANIFEST.in for proper package distribution
- Added Python build artifacts to .gitignore
The validate-frontmatter hook is now pip installable:
pip install arustydev-pre-commit-hooks
Usage:
validate-frontmatter --help
validate-frontmatter file1.md file2.md
validate-frontmatter --config custom.json --cache /tmp/cache.json
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4456103 commit 980be01
7 files changed
Lines changed: 836 additions & 3 deletions
File tree
- pre_commit_hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
| 318 | + | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments