Skip to content

Commit

Permalink
Apply flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bnchrch committed Mar 13, 2023
1 parent d745b7d commit d705241
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def connector_catalog_location_html(context, all_destinations_dataframe, all_sou

title = "Connector Catalogs"
content = f"<h1>{title}</h1>"
content += f"<h2>Sources</h2>"
content += "<h2>Sources</h2>"
content += all_sources_dataframe[columns_to_show].to_html()
content += f"<h2>Destinations</h2>"
content += "<h2>Destinations</h2>"
content += all_destinations_dataframe[columns_to_show].to_html()

html = html_body(title, content)
Expand All @@ -49,10 +49,10 @@ def connector_catalog_location_markdown(context, all_destinations_dataframe, all
all_sources_dataframe.replace({True: "✅", False: "❌"}, inplace=True)
all_destinations_dataframe.replace({True: "✅", False: "❌"}, inplace=True)

markdown = f"# Connector Catalog Locations\n\n"
markdown += f"## Sources\n"
markdown = "# Connector Catalog Locations\n\n"
markdown += "## Sources\n"
markdown += all_sources_dataframe[columns_to_show].to_markdown()
markdown += f"\n\n## Destinations\n"
markdown += "\n\n## Destinations\n"
markdown += all_destinations_dataframe[columns_to_show].to_markdown()

catalog_report_directory_manager = context.resources.catalog_report_directory_manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from google.cloud import storage
from google.oauth2 import service_account

from dagster import StringSource, InitResourceContext, resource, InitResourceContext
from dagster import StringSource, InitResourceContext, resource
from dagster_gcp.gcs.file_manager import GCSFileManager


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
cloud_destinations_dataframe,
oss_sources_dataframe,
cloud_sources_dataframe,
latest_oss_catalog_dict,
latest_cloud_catalog_dict,
all_sources_dataframe,
all_destinations_dataframe,
)
Expand Down

0 comments on commit d705241

Please sign in to comment.