Skip to content

Commit

Permalink
fix(linting): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azory-ydata committed Oct 23, 2023
1 parent 566b3ab commit 64158df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ydata_profiling/report/structure/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,10 @@ def get_dataset_items(config: Settings, summary: BaseDescription, alerts: list)

items: List[Renderable] = [get_dataset_overview(config, summary)]

metadata = {key: config.dataset.model_dump()[key] for key in config.dataset.model_dump().keys()}
metadata = {
key: config.dataset.model_dump()[key]
for key in config.dataset.model_dump().keys()
}

if len(metadata) > 0 and any(len(value) > 0 for value in metadata.values()):
items.append(get_dataset_schema(config, metadata))
Expand Down

0 comments on commit 64158df

Please sign in to comment.