From c983c856d0ba2d462ccd80f28862eea74db3ea38 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Wed, 22 Mar 2023 00:10:54 -0600 Subject: [PATCH] .pre-commit: Add xmllint for AP_DDS xml file Signed-off-by: Ryan Friedman --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 51091fb001a..9cd87421bcf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,6 +36,11 @@ repos: - id: check-xml - id: check-yaml + - repo: https://github.com/lsst-ts/pre-commit-xmllint + rev: v1.0.0 + hooks: + - id: format-xmllint + files: libraries/AP_DDS/dds_xrce_profile.xml # Disable isort and mypy temporarily due to config conflicts # # Use to sort python imports by name and put system import first. # - repo: https://github.com/pycqa/isort