Skip to content

Commit 4d2c492

Browse files
committed
fix: code style
1 parent 364da93 commit 4d2c492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

influxdb_client/client/write/dataframe_serializer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ def __init__(self, data_frame, point_settings, precision=DEFAULT_WRITE_PRECISION
193193
# field column has no nulls, we don't run the comma-removal
194194
# regexp substitution step.
195195
sep = '' if len(field_indexes) == 0 else ','
196-
if issubclass(value.type, np.integer) or issubclass(value.type, np.floating) or issubclass(value.type, np.bool_):
196+
if issubclass(value.type, np.integer) or issubclass(value.type, np.floating) or issubclass(value.type, np.bool_): # noqa: E501
197197
suffix = 'i' if issubclass(value.type, np.integer) else ''
198198
if null_columns.iloc[index]:
199-
field_value = f"""{{"" if pd.isna({val_format}) else f"{sep}{key_format}={{{val_format}}}{suffix}"}}"""
199+
field_value = f"""{{"" if pd.isna({val_format}) else f"{sep}{key_format}={{{val_format}}}{suffix}"}}""" # noqa: E501
200200
else:
201201
field_value = f"{sep}{key_format}={{{val_format}}}{suffix}"
202202
else:

0 commit comments

Comments
 (0)