Skip to content

Commit

Permalink
Fixes pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Mar 29, 2024
1 parent aad847b commit 7b01a52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset/cli/viz_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class VizType(str, Enum):
AREA = "area"
BUBBLE = "bubble"
DUAL_LINE = "dual_line"
LINE = "line"
HEATMAP = "heatmap"

Check warning on line 30 in superset/cli/viz_migrations.py

View check run for this annotation

Codecov / codecov/patch

superset/cli/viz_migrations.py#L30

Added line #L30 was not covered by tests
LINE = "line"
PIVOT_TABLE = "pivot_table"
SUNBURST = "sunburst"
TREEMAP = "treemap"
Expand Down Expand Up @@ -80,8 +80,8 @@ def migrate(viz_type: VizType, is_downgrade: bool = False) -> None:
MigrateAreaChart,
MigrateBubbleChart,
MigrateDualLine,
MigrateLineChart,
MigrateHeatmapChart,
MigrateLineChart,
MigratePivotTable,
MigrateSunburst,
MigrateTreeMap,
Expand All @@ -91,8 +91,8 @@ def migrate(viz_type: VizType, is_downgrade: bool = False) -> None:
VizType.AREA: MigrateAreaChart,
VizType.BUBBLE: MigrateBubbleChart,
VizType.DUAL_LINE: MigrateDualLine,
VizType.LINE: MigrateLineChart,
VizType.HEATMAP: MigrateHeatmapChart,
VizType.LINE: MigrateLineChart,
VizType.PIVOT_TABLE: MigratePivotTable,
VizType.SUNBURST: MigrateSunburst,
VizType.TREEMAP: MigrateTreeMap,
Expand Down

0 comments on commit 7b01a52

Please sign in to comment.