Skip to content

Commit 01b77fc

Browse files
committed
Use python3 for pre-commit hooks
1 parent 35c03cc commit 01b77fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repos:
5151
hooks:
5252
- id: check-no-native-http
5353
name: Check for native HTTP calls
54-
entry: python ci/pre-commit/check_no_native_http.py
54+
entry: python3 ci/pre-commit/check_no_native_http.py
5555
language: system
5656
files: ^src/snowflake/connector/.*\.py$
5757
exclude: |
@@ -62,7 +62,7 @@ repos:
6262
args: [--show-fixes]
6363
- id: check-optional-imports
6464
name: Check for direct imports of modules which might be unavailable
65-
entry: python ci/pre-commit/check_optional_imports.py
65+
entry: python3 ci/pre-commit/check_optional_imports.py
6666
language: system
6767
files: ^src/snowflake/connector/.*\.py$
6868
exclude: src/snowflake/connector/options.py

0 commit comments

Comments
 (0)