Skip to content

Commit c26ff4c

Browse files
Fix up pre-commit errors.
1 parent 08152dc commit c26ff4c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

dbt/adapters/sqlserver/sqlserver_connections.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
except ModuleNotFoundError:
1616

1717
@dataclass
18-
class AccessToken:
18+
class AccessToken: # type: ignore[no-redef]
1919
token: str
2020
expires_on: int
2121

@@ -76,10 +76,11 @@ class AccessToken:
7676
def _require_azure_identity(authentication: str) -> None:
7777
if _AZURE_IDENTITY_IMPORT_ERROR is not None:
7878
raise dbt_common.exceptions.DbtRuntimeError(
79-
"Azure authentication '{}' requires the optional dependency 'azure-identity'. "
80-
"Install it with `pip install azure-identity` or use a non-Azure authentication mode.".format(
81-
authentication
82-
)
79+
(
80+
"Azure authentication '{}' requires the optional "
81+
"dependency 'azure-identity'. Install it with `pip install "
82+
"azure-identity` or use a non-Azure authentication mode."
83+
).format(authentication)
8384
) from _AZURE_IDENTITY_IMPORT_ERROR
8485

8586

0 commit comments

Comments
 (0)