From dd6d00772d64cd4c7929bde8d5097adc17bc2cc8 Mon Sep 17 00:00:00 2001 From: Marco Mambelli Date: Fri, 24 Jan 2025 14:55:33 -0600 Subject: [PATCH] Review and pre-commit fixes --- .pre-commit-config.yaml | 2 ++ .prettierignore | 1 + doc/factory/troubleshooting.html | 5 ++- factory/tools/gfdiff.py | 62 ++++++++++---------------------- 4 files changed, 26 insertions(+), 44 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4752a7c88..f5c36a5d3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,6 +41,8 @@ repos: rev: v3.1.0 hooks: - id: prettier + # HTML pre section bug https://github.com/prettier/prettier/issues/17042 + exclude: "doc/factory/troubleshooting.html" exclude_types: - "python" additional_dependencies: diff --git a/.prettierignore b/.prettierignore index e300661ee..228e53ccf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,3 +3,4 @@ build/ReleaseManager/tags_example.yaml creation/web_base/factoryEntryStatusNow.html +doc/factory/troubleshooting.html diff --git a/doc/factory/troubleshooting.html b/doc/factory/troubleshooting.html index a988a02ea..13861f7b2 100644 --- a/doc/factory/troubleshooting.html +++ b/doc/factory/troubleshooting.html @@ -792,6 +792,8 @@

The gfdiff tool has been improved to use positional arguments instead of options. You can use it to check differences among entries in the XML configuration. For example:
+ +
             [0618] gfactory@gfactory-2 ~/mmascher/gfdiff$ ./gfdiff 10-hosted-ces.auto.xml.new 10-hosted-ces.auto.xml.bak241121 OSG_US_CHTC-Spark-CE1-gpu
             --- text_a
@@ -825,9 +827,10 @@ 

+
- +