Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Aug 9, 2024
1 parent 6229301 commit 2a42387
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions airbyte/_util/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import os
import sys
import tempfile
from contextlib import suppress
from functools import lru_cache
from pathlib import Path
Expand All @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion airbyte/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 2a42387

Please sign in to comment.