From c3df44f40b436c4bbec59d08a9b9352dc2e6715d Mon Sep 17 00:00:00 2001 From: Cora Schneck <22159116+cyschneck@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:27:23 -0600 Subject: [PATCH] pre-commit hook check-yaml (#625) --- .pre-commit-config.yaml | 1 + docs/release-notes.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3f7f7e9d..abd4df16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,3 +31,4 @@ repos: - id: end-of-file-fixer # Makes sure files end with a newline. - id: trailing-whitespace # Checks for any tabs or spaces after the last non-whitespace character on the line. - id: check-docstring-first # Checks that code comes after the docstrings. + - id: check-yaml # Check valid yml file diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 1d8285c5..73103aab 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -14,6 +14,7 @@ This release... Internal Changes ^^^^^^^^^^^^^^^^ +* Pre-commit hook to check for valid yml by `Cora Schneck`_ in (:pr:`625`) * CI to run on macos-latest instead of macos-14 by `Cora Schneck`_ in (:pr:`617`) * Update and setup autoupdate for pre-commit hooks by `Cora Schneck`_ in (:pr:`604`) * Removed ``pre-commit.yaml`` action in favor of pre-commit.ci by `Cora Schneck`_ in (:pr:`608`)