From ae91f1053166c26d740e70ff51b1358aa754ad10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Wed, 10 Jul 2024 07:42:54 +0200 Subject: [PATCH] Switch to Python 3 for pre-commit --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0bfffa1..6ab8eed5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: hooks: - id: sync-conf-files name: Update when configuration files change - entry: python tools/sync_conf_files.py ./ + entry: python3 tools/sync_conf_files.py ./ language: system files: '.*ESP_Panel_(Board_Custom|Board_Supported|Conf)\.h' @@ -47,6 +47,6 @@ repos: hooks: - id: check-file-versions name: Update when versions change - entry: python tools/check_file_version.py ./ + entry: python3 tools/check_file_version.py ./ language: system files: '(.*ESP_Panel_(Board_Custom|Board_Supported|Conf)\.h|library.properties|.*ESP_PanelVersions.h)'