Skip to content

Commit

Permalink
Merge pull request #1016 from akrherz/241126
Browse files Browse the repository at this point in the history
Omnibus
  • Loading branch information
akrherz authored Nov 30, 2024
2 parents 24bb012 + 83e8424 commit 5e310c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/pre-commit/mirrors-eslint
rev: 'v9.15.0'
rev: 'v9.16.0'
hooks:
- id: eslint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.0"
rev: "v0.8.1"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions pylib/iemweb/autoplot/scripts200/p258.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ def plotter(fdict):
}
ylabels = []
ylocator = {}
slots = compute_slots(fdict["outlook_type"], ctx["valid"])
slots = compute_slots(ctx["outlook_type"], ctx["valid"])
for (pissue, cat), df2 in outlooks.groupby(["product_issue", "category"]):
row0 = df2[df2["threshold"] != "SIGN"].iloc[0]
if row0["cycle"] != -1:
# Consume up slots as necessary
slotkey = f"{row0['day']}.{fdict['outlook_type']}.{row0['cycle']}"
slotkey = f"{row0['day']}.{ctx['outlook_type']}.{row0['cycle']}"
if slotkey in slots:
removeme = []
for index in range(slots.index(slotkey)):
Expand Down

0 comments on commit 5e310c3

Please sign in to comment.