From 3de8ec897fd225d48fbde1c9687eb8c7688db817 Mon Sep 17 00:00:00 2001 From: akrherz Date: Thu, 26 Oct 2023 09:24:13 -0500 Subject: [PATCH] mnt: address line-length lint --- cgi-bin/request/coop.py | 4 +- htdocs/plotting/auto/index.py | 3 +- htdocs/plotting/auto/scripts/p59.py | 4 +- htdocs/plotting/auto/scripts100/p147.py | 9 +++-- htdocs/plotting/auto/scripts100/p170.py | 50 +++++++++++------------- htdocs/projects/iembot/mastodon/index.py | 4 +- 6 files changed, 37 insertions(+), 37 deletions(-) diff --git a/cgi-bin/request/coop.py b/cgi-bin/request/coop.py index 5e2f976234..3f4980c812 100644 --- a/cgi-bin/request/coop.py +++ b/cgi-bin/request/coop.py @@ -697,8 +697,8 @@ def do_swat(ctx): f""" WITH scenario as ( SELECT - ('{thisyear}-'||month||'-'||extract(day from day))::date as day, - high, low, precip, station from {table} + ('{thisyear}-'||month||'-'||extract(day from day))::date + as day, high, low, precip, station from {table} WHERE station = ANY(:sids) and day >= :asts and year = :scenario_year), obs as ( diff --git a/htdocs/plotting/auto/index.py b/htdocs/plotting/auto/index.py index 1eb8228927..a17c0a3604 100644 --- a/htdocs/plotting/auto/index.py +++ b/htdocs/plotting/auto/index.py @@ -138,7 +138,8 @@ def map_select_widget(network, name): return f"""   -