mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-23 09:46:00 +00:00
exclude the templates from config
This commit is contained in:
@@ -65,6 +65,9 @@ repos:
|
|||||||
name: Format Markdown with Prettier
|
name: Format Markdown with Prettier
|
||||||
types_or: [markdown, mdx]
|
types_or: [markdown, mdx]
|
||||||
args: [--prose-wrap=preserve]
|
args: [--prose-wrap=preserve]
|
||||||
|
# Jinja2 model-card templates use a .md extension but contain {% ... %} /
|
||||||
|
# {{ ... }} tags that prettier's Markdown formatter mangles (e.g. table loops).
|
||||||
|
exclude: ^src/lerobot/templates/.*\.md$
|
||||||
|
|
||||||
##### Security #####
|
##### Security #####
|
||||||
- repo: https://github.com/gitleaks/gitleaks
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
|
|||||||
Reference in New Issue
Block a user