Skip to content

Commit 9ba1241

Browse files
committed
fix linting issues
1 parent e324436 commit 9ba1241

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pypika/terms.py

+1
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ def __init__(
654654
if isinstance(table, str):
655655
# avoid circular import at load time
656656
from pypika.queries import Table
657+
657658
table = Table(table)
658659
self.table = table
659660

pypika/tests/test_terms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_init_with_str_table(self):
2020
test_table_name = "test_table"
2121
field = Field(name="name", table=test_table_name)
2222
self.assertEqual(field.table, Table(name=test_table_name))
23-
23+
2424

2525
class FieldHashingTests(TestCase):
2626
def test_tabled_eq_fields_equally_hashed(self):

0 commit comments

Comments
 (0)