Skip to content

Commit c8f1c56

Browse files
committed
fix lint and bump version
1 parent d8a812f commit c8f1c56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snowflake/connector/arrow_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import time
1010
from datetime import datetime, timedelta, tzinfo
1111
from logging import getLogger
12-
from typing import TYPE_CHECKING
1312
from sys import byteorder
13+
from typing import TYPE_CHECKING
1414

1515
import pytz
1616
from pytz import UTC
@@ -154,6 +154,6 @@ def DECIMAL128_to_decimal(self, int128_bytes: bytes, scale: int):
154154
int128 = int.from_bytes(int128_bytes, byteorder=byteorder, signed=True)
155155
if scale == 0:
156156
return int128
157-
digits = [int(digit) for digit in str(int128) if digit != '-']
157+
digits = [int(digit) for digit in str(int128) if digit != "-"]
158158
sign = int128 < 0
159159
return decimal.Decimal((sign, digits, -scale))

0 commit comments

Comments
 (0)