Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
MoralCode committed Oct 9, 2024
1 parent bd1facd commit 9d2d0b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
6 changes: 2 additions & 4 deletions 8Knot/pages/repo_overview/visualizations/ossf_scorecard.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@
dbc.Row(
[
dbc.Label(
[
"Last Updated:",
html.Span(id=f"{PAGE}-{VIZ_ID}-updated")
], className="mr-2"
["Last Updated:", html.Span(id=f"{PAGE}-{VIZ_ID}-updated")],
className="mr-2",
)
]
),
Expand Down
13 changes: 2 additions & 11 deletions 8Knot/pages/repo_overview/visualizations/repo_general_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,7 @@
dcc.Loading(
html.Div(id=f"{PAGE}-{VIZ_ID}"),
),
dbc.Row(
[
dbc.Label(
[
"Last Updated:",
html.Span(id=f"{PAGE}-{VIZ_ID}-updated")
], className="mr-2"
)
]
),
dbc.Row([dbc.Label(["Last Updated:", html.Span(id=f"{PAGE}-{VIZ_ID}-updated")], className="mr-2")]),
]
)
],
Expand Down Expand Up @@ -90,7 +81,7 @@ def repo_general_info(repo):


def process_data(df_repo_files, df_repo_info, df_releases):

updated_times_repo_info = pd.to_datetime(df_repo_info["data_collection_date"])

unique_updated_times = updated_times_repo_info.drop_duplicates().to_numpy().flatten()
Expand Down

0 comments on commit 9d2d0b1

Please sign in to comment.