From 01b77fc22009fd110150ded9e82a592704d49be2 Mon Sep 17 00:00:00 2001 From: Brandon Chinn Date: Tue, 23 Sep 2025 10:10:05 -0700 Subject: [PATCH] Use python3 for pre-commit hooks --- .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 43aabd2e95..b02c3c0d6c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,7 +51,7 @@ repos: hooks: - id: check-no-native-http name: Check for native HTTP calls - entry: python ci/pre-commit/check_no_native_http.py + entry: python3 ci/pre-commit/check_no_native_http.py language: system files: ^src/snowflake/connector/.*\.py$ exclude: | @@ -62,7 +62,7 @@ repos: args: [--show-fixes] - id: check-optional-imports name: Check for direct imports of modules which might be unavailable - entry: python ci/pre-commit/check_optional_imports.py + entry: python3 ci/pre-commit/check_optional_imports.py language: system files: ^src/snowflake/connector/.*\.py$ exclude: src/snowflake/connector/options.py