Remove markets, now represented in YAML

This commit is contained in:
Edward Betts 2023-11-10 01:02:43 +01:00
parent 495f0b9744
commit bcdc8e69b4

View file

@ -23,7 +23,6 @@ from . import (
economist, economist,
fx, fx,
gwr, gwr,
markets,
stock_market, stock_market,
subscription, subscription,
sun, sun,
@ -236,13 +235,7 @@ async def get_data(now: datetime) -> typing.Mapping[str, str | object]:
minus_365, plus_365, "us_clock_change", "America/New_York" minus_365, plus_365, "us_clock_change", "America/New_York"
), ),
"mothers_day": uk_holiday.get_mothers_day(today), "mothers_day": uk_holiday.get_mothers_day(today),
# "fathers_day": uk_holiday.get_fathers_day(today),
"gwr_advance_tickets": gwr_advance_tickets, "gwr_advance_tickets": gwr_advance_tickets,
"market": (
markets.windmill_hill(last_year, next_year)
+ markets.tobacco_factory(last_year, next_year)
+ markets.nailsea_farmers(last_year, next_year)
),
"rockets": rockets, "rockets": rockets,
} }