Skip to content

Commit

Permalink
🧑‍💻 (tools): Add skills.yml check, hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Feb 9, 2024
1 parent 99e67d8 commit 7923fab
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 259 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,15 @@ repos:
language: python
additional_dependencies: ["ruamel.yaml"]
files: authors.yml

- id: check_yaml_data_skills
name: Check skills.yml
description: |
This hook checks skills.yml for:
- non unique ids
- jtd schema validation
It also formats the file and sorts the entries
entry: python3 Tools/Hooks/check_yaml_data_skills.py
language: python
additional_dependencies: ["ruamel.yaml"]
files: skills.yml
Loading

0 comments on commit 7923fab

Please sign in to comment.