diff --git a/tap_github/client.py b/tap_github/client.py index b4ff6a03..0c042c73 100644 --- a/tap_github/client.py +++ b/tap_github/client.py @@ -311,7 +311,7 @@ class GitHubGraphqlStream(GraphQLStream, GitHubRestStream): @property def url_base(self) -> str: - return f'{self.config.get("api_url_base", self.DEFAULT_API_BASE_URL)}/graphql' + return f"{self.config.get('api_url_base', self.DEFAULT_API_BASE_URL)}/graphql" # the jsonpath under which to fetch the list of records from the graphql response query_jsonpath: str = "$.data.[*]" diff --git a/tap_github/tap.py b/tap_github/tap.py index 97f7c601..de607f01 100644 --- a/tap_github/tap.py +++ b/tap_github/tap.py @@ -27,9 +27,9 @@ def logger(cls: type[TapGitHub]) -> logging.Logger: # noqa: N805 """ LOGLEVEL = os.environ.get("LOGLEVEL", "INFO").upper() # noqa: N806 - assert ( - LOGLEVEL in logging._levelToName.values() - ), f"Invalid LOGLEVEL configuration: {LOGLEVEL}" + assert LOGLEVEL in logging._levelToName.values(), ( + f"Invalid LOGLEVEL configuration: {LOGLEVEL}" + ) logger = logging.getLogger(cls.name) logger.setLevel(LOGLEVEL) return logger