Skip to content

Commit

Permalink
Fix lint failures
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
  • Loading branch information
susodapop committed Apr 26, 2023
1 parent cc7a77e commit 2a52d28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import yaml
from unittest.mock import patch

import dbt.main as dbt
import dbt.main as dbt # type: ignore
from dbt import flags
from dbt.deprecations import reset_deprecations
from dbt.adapters.factory import get_adapter, reset_adapters, register_adapter
Expand Down
1 change: 1 addition & 0 deletions tests/unit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def profile_from_dict(profile, profile_name, cli_vars="{}"):
# flags global. This is a bit of a hack, but it's the best way to do it.
from dbt.flags import set_from_args
from argparse import Namespace

set_from_args(Namespace(), None)
return Profile.from_raw_profile_info(
profile,
Expand Down

0 comments on commit 2a52d28

Please sign in to comment.