Skip to content

Commit 6576070

Browse files
committed
fix: pre-commit YAML format for documentation compliance check file pattern
Use proper YAML multi-line format with | instead of >- to ensure correct parsing of the file pattern regex for documentation-compliance-check hook. The hook is correctly configured to call the script directly: - entry: scripts/check-documentation-compliance.py - language: python This ensures the hook runs when documentation files are changed.
1 parent 84615ff commit 6576070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ repos:
5050
entry: scripts/check-documentation-compliance.py
5151
language: python
5252
pass_filenames: false
53-
files: >-
53+
files: |
5454
^(src/.*\.py|tests/.*\.py|docs/.*\.(rst|md)|examples/.*\.py|
5555
scripts/.*\.py|\.agent-os/.*\.md|pyproject\.toml|tox\.ini)$
5656
stages: [pre-commit]

0 commit comments

Comments
 (0)