Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Illia Yurtsiv committed Jun 17, 2024
1 parent 6e92fda commit a9c47ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dbt_osmosis/vendored/dbt_core_interface/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@

try:
# dbt >= 1.8
from dbt_common.clients.system import make_directory, get_env
from dbt_common.clients.system import get_env, make_directory
from dbt_common.context import set_invocation_context
except ImportError:
# dbt < 1.8
from dbt.clients.system import make_directory

from dbt.config.runtime import RuntimeConfig
from dbt.contracts.graph.nodes import ColumnInfo, ManifestNode
from dbt.flags import set_from_args
Expand Down Expand Up @@ -387,7 +388,7 @@ def __init__(
project_dir=project_dir or DEFAULT_PROJECT_DIR,
profile=profile,
)
if hasattr(sys.modules[__name__], 'set_invocation_context'):
if hasattr(sys.modules[__name__], "set_invocation_context"):
set_invocation_context(get_env())
if vars is None:
vars = "{}"
Expand Down

0 comments on commit a9c47ed

Please sign in to comment.