Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewm4894 committed Nov 14, 2023
1 parent c3b7699 commit ad37fbe
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
body: |
:x: **pre-commit** failed.
Please run `pre-commit run --all-files` locally and commit the changes.
Find more information in the repository's CONTRIBUTING.md
Find more information in the repository's CONTRIBUTING.md
10 changes: 2 additions & 8 deletions dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,8 @@ def plot_time_series(df, metric_name) -> go.Figure:
fig.update_layout(
title_text=f"{metric_name} (n={len(df)})",
hovermode="x",
legend=dict(
orientation="h",
yanchor="bottom",
y=1.02,
xanchor="right",
x=1
),
autosize=True
legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
autosize=True,
)

return fig
Expand Down
1 change: 0 additions & 1 deletion metrics/examples/hackernews/hn_top_stories_scores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ alert_always: False
alert_methods: "email"
ingest_fn: >
{% include "./examples/hackernews/hn_top_stories_scores.py" %}
1 change: 0 additions & 1 deletion metrics/examples/netdata/netdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ alert_always: False
alert_methods: "email"
ingest_fn: >
{% include "./examples/netdata/netdata.py" %}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ train_cron_schedule: "*/4 * * * *"
score_cron_schedule: "*/3 * * * *"
ingest_fn: >
{% include "./examples/python/python_ingest_simple/ingest.py" %}
1 change: 0 additions & 1 deletion metrics/examples/weather/weather.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ alert_always: False
alert_methods: "email"
ingest_fn: >
{% include "./examples/weather/ingest_weather.py" %}
1 change: 0 additions & 1 deletion metrics/examples/weather_forecast/weather_forecast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ alert_always: False
alert_methods: "email"
ingest_sql: >
{% include "./examples/weather_forecast/weather_forecast.sql" %}
1 change: 0 additions & 1 deletion metrics/examples/yfinance/yfinance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ alert_always: False
alert_methods: "email"
ingest_fn: >
{% include "./examples/yfinance/yfinance.py" %}

0 comments on commit ad37fbe

Please sign in to comment.