Skip to content

Commit be9d62b

Browse files
committed
change precommit run
1 parent 022562d commit be9d62b

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@ repos:
88
rev: v4.4.0
99
hooks:
1010
- id: trailing-whitespace
11+
exclude: >
12+
(?x)^(
13+
src/snowflake/connector/cpp/ArrowIterator/flatcc|
14+
src/snowflake/connector/cpp/ArrowIterator/nanoarrow_ipc.c|
15+
)$
1116
- id: end-of-file-fixer
12-
exclude: license_header.txt
17+
exclude: >
18+
(?x)^(
19+
license_header.txt|
20+
src/snowflake/connector/cpp/ArrowIterator/flatcc|
21+
)$
1322
- id: check-yaml
1423
exclude: .github/repo_meta.yaml
1524
- id: debug-statements
@@ -28,6 +37,7 @@ repos:
2837
(?x)^(
2938
src/snowflake/connector/version.py|
3039
src/snowflake/connector/cpp|
40+
src/snowflake/connector/cpp/ArrowIterator/nanoarrow.hpp|
3141
)$
3242
args:
3343
- --license-filepath

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
_ABLE_TO_COMPILE_EXTENSIONS = False
5555

5656
if _ABLE_TO_COMPILE_EXTENSIONS:
57-
5857
extensions = cythonize(
5958
[
6059
Extension(

test/integ/pandas/test_arrow_pandas.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,6 @@ def test_simple_async_arrow(conn_cnx):
10381038
],
10391039
)
10401040
def test_number_iter_retrieve_type(conn_cnx, use_decimal: bool, expected: type):
1041-
10421041
with conn_cnx(arrow_number_to_decimal=use_decimal) as con:
10431042
with con.cursor() as cur:
10441043
cur.execute("SELECT 12345600.87654301::NUMBER(18, 8) a")

0 commit comments

Comments
 (0)