Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Dec 20, 2024
1 parent fbcbd4e commit d659241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/destinations/postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def __init__(
):
if index_columns is None:
index_columns = []
self.engine: sqlalchemy.engine.Engine = create_engine(db_url, pool_pre_ping=True)
self.engine: sqlalchemy.engine.Engine = create_engine(
db_url, pool_pre_ping=True
)
self.table_name: str = table_name
self.schema = "public"
# Split table_name if it contains schema
Expand Down
1 change: 0 additions & 1 deletion tests/unit/dune_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@


class DuneSourceTest(unittest.TestCase):

def test_parse_varchar_type(self):
self.assertEqual(7, _parse_varchar_type("varchar(7)"))
self.assertEqual(9, _parse_varchar_type("varchar(9)"))
Expand Down

0 comments on commit d659241

Please sign in to comment.