Skip to content

Commit

Permalink
[ENH] Enable check-yaml in CI (#2078)
Browse files Browse the repository at this point in the history
Exclude Helm templates from YAML linting as they are not valid YAML

Fixes #2053
  • Loading branch information
ibratoev authored Apr 30, 2024
1 parent 4b2599c commit ff93ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/chroma-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ jobs:
pre-commit run --all-files black
pre-commit run --all-files flake8
pre-commit run --all-files prettier
pre-commit run --all-files check-yaml
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ repos:
- id: requirements-txt-fixer
- id: check-yaml
args: ["--allow-multiple-documents"]
# Exclude Helm templates from YAML linting as they are not valid YAML
exclude: "k8s/distributed-chroma/templates/"
- id: check-xml
- id: check-merge-conflict
- id: check-case-conflict
Expand Down

0 comments on commit ff93ecd

Please sign in to comment.