Skip to content

Commit 2e1ced7

Browse files
Snow-2203079 http traffic through session manager (#2429)
1 parent 7b91a06 commit 2e1ced7

32 files changed

+2704
-318
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ repos:
4747
hooks:
4848
- id: pyupgrade
4949
args: [--py38-plus]
50+
- repo: local
51+
hooks:
52+
- id: check-no-native-http
53+
name: Check for native HTTP calls
54+
entry: python ci/pre-commit/check_no_native_http.py
55+
language: system
56+
files: ^src/snowflake/connector/.*\.py$
57+
exclude: |
58+
(?x)^(
59+
src/snowflake/connector/session_manager\.py|
60+
src/snowflake/connector/vendored/.*
61+
)$
62+
args: [--show-fixes]
5063
- repo: https://github.com/PyCQA/flake8
5164
rev: 7.1.1
5265
hooks:

0 commit comments

Comments
 (0)