From 131e8b2fbf534baeb37a2ddb21419c71b766e8b9 Mon Sep 17 00:00:00 2001 From: Luka Peschke Date: Wed, 22 Nov 2023 13:34:06 +0100 Subject: [PATCH] chore: mypy Signed-off-by: Luka Peschke --- toucan_connectors/hubspot_private_app/hubspot_connector.py | 2 +- toucan_connectors/snowflake/snowflake_connector.py | 2 +- toucan_connectors/toucan_connector.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toucan_connectors/hubspot_private_app/hubspot_connector.py b/toucan_connectors/hubspot_private_app/hubspot_connector.py index 81ab3b955..ae5cfaa14 100644 --- a/toucan_connectors/hubspot_private_app/hubspot_connector.py +++ b/toucan_connectors/hubspot_private_app/hubspot_connector.py @@ -3,7 +3,7 @@ from typing import Any, Generator, Protocol, TypeAlias import pandas as pd -from hubspot import HubSpot # type:ignore[import] +from hubspot import HubSpot # type:ignore[import-untyped] from pydantic import BaseModel, Field, SecretStr from toucan_connectors.pagination import build_pagination_info diff --git a/toucan_connectors/snowflake/snowflake_connector.py b/toucan_connectors/snowflake/snowflake_connector.py index 0b971719f..bffbf3b83 100644 --- a/toucan_connectors/snowflake/snowflake_connector.py +++ b/toucan_connectors/snowflake/snowflake_connector.py @@ -471,4 +471,4 @@ def get_model(self, db_name: str | None = None) -> list[TableInfo]: ] ) - return self.format_db_model(values) # type: ignore[arg-type] + return self.format_db_model(values) diff --git a/toucan_connectors/toucan_connector.py b/toucan_connectors/toucan_connector.py index 2d1c30fa6..736e4b45f 100644 --- a/toucan_connectors/toucan_connector.py +++ b/toucan_connectors/toucan_connector.py @@ -25,7 +25,7 @@ from toucan_connectors.utils.datetime import sanitize_df_dates try: - from bearer import Bearer # type: ignore[import] + from bearer import Bearer # type: ignore[import-untyped] except ImportError: pass