From 2a423872edd9533f5139bceee2ce422474edc0fe Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Fri, 9 Aug 2024 11:01:27 -0700 Subject: [PATCH] lint fixes --- airbyte/_util/meta.py | 2 -- airbyte/exceptions.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/airbyte/_util/meta.py b/airbyte/_util/meta.py index 18d94d81..26dfacff 100644 --- a/airbyte/_util/meta.py +++ b/airbyte/_util/meta.py @@ -8,7 +8,6 @@ import os import sys -import tempfile from contextlib import suppress from functools import lru_cache from pathlib import Path @@ -21,7 +20,6 @@ """URL to get the current Google Colab session information.""" - def get_colab_release_version() -> str | None: if "COLAB_RELEASE_TAG" in os.environ: return os.environ["COLAB_RELEASE_TAG"] diff --git a/airbyte/exceptions.py b/airbyte/exceptions.py index 33cb4d50..a59ae471 100644 --- a/airbyte/exceptions.py +++ b/airbyte/exceptions.py @@ -270,7 +270,7 @@ def __post_init__(self) -> None: """Set the log file path for the connector.""" self.log_file = self._get_log_file() - def _get_log_file(self) -> Path | None: # type: ignore [override] # Read-only property replaces attribute + def _get_log_file(self) -> Path | None: """Return the log file path for the connector.""" if self.connector_name: logger = logging.getLogger(f"airbyte.{self.connector_name}")