From 9135c0da70dc05f81c306a5aeda6cbf9149d5a97 Mon Sep 17 00:00:00 2001 From: mgorsk1 Date: Wed, 27 Nov 2024 08:52:49 +0100 Subject: [PATCH] fix linting --- .../src/metadata/ingestion/source/database/dbt/dbt_config.py | 2 +- .../src/metadata/ingestion/source/database/dbt/metadata.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestion/src/metadata/ingestion/source/database/dbt/dbt_config.py b/ingestion/src/metadata/ingestion/source/database/dbt/dbt_config.py index dfeabeea88a3..bbf5631a52b7 100644 --- a/ingestion/src/metadata/ingestion/source/database/dbt/dbt_config.py +++ b/ingestion/src/metadata/ingestion/source/database/dbt/dbt_config.py @@ -261,7 +261,7 @@ def download_dbt_files( """ Method to download the files from sources """ - for ( # pylint: disable=too-many-nested-blocks + for ( # pylint: disable=too-many-nested-blocks, too-many-locals, too-many-branches key, blobs, ) in blob_grouped_by_directory.items(): diff --git a/ingestion/src/metadata/ingestion/source/database/dbt/metadata.py b/ingestion/src/metadata/ingestion/source/database/dbt/metadata.py index 02ef4058977a..5c1b2cf81e31 100644 --- a/ingestion/src/metadata/ingestion/source/database/dbt/metadata.py +++ b/ingestion/src/metadata/ingestion/source/database/dbt/metadata.py @@ -359,7 +359,7 @@ def add_dbt_sources( key, manifest_node, manifest_entities, dbt_objects ) - # pylint: disable=too-many-locals, too-many-branches + # pylint: disable=too-many-locals, too-many-branches, too-many-statements def yield_data_models( self, dbt_objects: DbtObjects ) -> Iterable[Either[DataModelLink]]: