Skip to content

Commit a0bfc79

Browse files
committed
Format with black==23.12.1
1 parent 35466a6 commit a0bfc79

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

pharus/interface.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,11 @@ def _fetch_records(
201201
r"timestamp", attribute_info.type
202202
):
203203
# Datetime or timestamp, use timestamp to covert to epoch time
204-
row.append(non_blobs_row[attribute_name].replace(
205-
tzinfo=datetime.timezone.utc
206-
).timestamp())
204+
row.append(
205+
non_blobs_row[attribute_name]
206+
.replace(tzinfo=datetime.timezone.utc)
207+
.timestamp()
208+
)
207209
elif attribute_info.type[0:7] == "decimal":
208210
# Covert decimal to string
209211
row.append(str(non_blobs_row[attribute_name]))

tests/test_interface.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ def nei_nienborg_model_labeledvideo_file(
1717

1818

1919
class TestDJConnector:
20-
2120
def test_can_init(self):
2221
djc = DJC()
2322
assert djc is not None

0 commit comments

Comments
 (0)