We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf388f commit c43d741Copy full SHA for c43d741
src/dbt_core_interface/sqlfluff_util.py
@@ -9,6 +9,7 @@
9
from sqlfluff.cli.outputstream import FileOutput
10
from sqlfluff.core import SQLLintError, SQLTemplaterError
11
from sqlfluff.core.config import ConfigLoader, FluffConfig
12
+from sqlfluff.core.config.loader import load_config_up_to_path
13
from sqlfluff.core.errors import SQLFluffUserError
14
15
LOGGER = logging.getLogger(__name__)
@@ -62,7 +63,7 @@ def get_config(
62
63
loader = DatacovesConfigLoader().get_global()
64
65
# Load config at project root
- base_config = loader.load_config_up_to_path(
66
+ base_config = load_config_up_to_path(
67
path=str(dbt_project_root),
68
extra_config_path=str(extra_config_path) if extra_config_path else None,
69
ignore_local_config=ignore_local_config,
0 commit comments