Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 27a9d6f

Browse files
committed
Ran black
1 parent f689e6f commit 27a9d6f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

data_diff/__main__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def _main(
205205
)
206206

207207
if database1 is None or database2 is None:
208-
logging.error(f"Error: Databases not specified. Got {database1} and {database2}. Use --help for more information.")
208+
logging.error(
209+
f"Error: Databases not specified. Got {database1} and {database2}. Use --help for more information."
210+
)
209211
return
210212

211213
try:

tests/test_diff_tables.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def _get_text_type(conn):
5656
return "STRING"
5757
return "varchar(100)"
5858

59+
5960
def _get_float_type(conn):
6061
if isinstance(conn, db.BigQuery):
6162
return "FLOAT64"
@@ -215,10 +216,12 @@ def setUp(self):
215216
float_type = _get_float_type(self.connection)
216217

217218
self.connection.query(
218-
f"create table {self.table_src}(id int, userid int, movieid int, rating {float_type}, timestamp timestamp)", None
219+
f"create table {self.table_src}(id int, userid int, movieid int, rating {float_type}, timestamp timestamp)",
220+
None,
219221
)
220222
self.connection.query(
221-
f"create table {self.table_dst}(id int, userid int, movieid int, rating {float_type}, timestamp timestamp)", None
223+
f"create table {self.table_dst}(id int, userid int, movieid int, rating {float_type}, timestamp timestamp)",
224+
None,
222225
)
223226
# self.preql(
224227
# f"""

0 commit comments

Comments
 (0)