Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kokorin committed Jul 6, 2024
1 parent 3048e04 commit c212c82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions dbt_pumpkin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def relocate(project_dir, profiles_dir, target, profile, select, exclude, dry_ru
pumpkin = Pumpkin(project_params, resource_params)
pumpkin.relocate(dry_run=dry_run)


@cli.command
@P.project_dir
@P.profiles_dir
Expand Down
7 changes: 5 additions & 2 deletions dbt_pumpkin/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,11 @@ def plan(self) -> Plan:
logger.warning("Table not found for resource: %s", resource.unique_id)
continue
if not resource.yaml_path:
logger.warning("Resource %s %s has no YAML path defined, consider using bootstrap command",
resource.type, resource.unique_id)
logger.warning(
"Resource %s %s has no YAML path defined, consider using bootstrap command",
resource.type,
resource.unique_id,
)
continue

actions += self._resource_plan(resource, table)
Expand Down

0 comments on commit c212c82

Please sign in to comment.