From: Bernhard Kaindl Date: Fri, 5 Jan 2024 11:00:00 +0000 (+0100) Subject: CI: More pre-commit hooks along with fixes X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a5bd8d9e5d5c7b729d6d6122900d28f7a00aa6c0;p=people%2Fandrewcoop%2Fxen-test-framework.git CI: More pre-commit hooks along with fixes Fix executable permissions, and remove trailing whitespace. Signed-off-by: Bernhard Kaindl Signed-off-by: Andrew Cooper --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6bf5c96..81a7121 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,11 +14,14 @@ repos: - id: check-builtin-literals - id: check-case-conflict - id: check-docstring-first + - id: check-executables-have-shebangs - id: check-merge-conflict + - id: check-shebang-scripts-are-executable - id: check-symlinks - id: check-yaml - id: debug-statements - id: destroyed-symlinks + - id: end-of-file-fixer - id: fix-byte-order-marker - id: fix-encoding-pragma - id: mixed-line-ending diff --git a/arch/x86/include/arch/msr-index.h b/arch/x86/include/arch/msr-index.h index be7ba0d..0495c3f 100644 --- a/arch/x86/include/arch/msr-index.h +++ b/arch/x86/include/arch/msr-index.h @@ -81,4 +81,3 @@ * indent-tabs-mode: nil * End: */ - diff --git a/build/mkcfg.py b/build/mkcfg.py old mode 100644 new mode 100755 diff --git a/build/mkinfo.py b/build/mkinfo.py old mode 100644 new mode 100755 diff --git a/include/xen/sysctl.h b/include/xen/sysctl.h old mode 100755 new mode 100644