From bfbd6b4e5a25fc4958ed9a33102b15740d307dd8 Mon Sep 17 00:00:00 2001 From: Ryan Sheftel Date: Fri, 12 Apr 2024 08:33:37 -0400 Subject: [PATCH] blackify and update black version --- .github/workflows/test_runner.yml | 2 +- pandas_market_calendars/calendar_utils.py | 1 + pandas_market_calendars/holidays/jpx_equinox.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_runner.yml b/.github/workflows/test_runner.yml index ef082c1..16dc3bc 100644 --- a/.github/workflows/test_runner.yml +++ b/.github/workflows/test_runner.yml @@ -25,7 +25,7 @@ jobs: - name: install dependencies run: | python -m pip install --upgrade pip - pip install pytest coveralls black===24.1.1 + pip install pytest coveralls black===24.3.0 pip install . - name: ensure black format diff --git a/pandas_market_calendars/calendar_utils.py b/pandas_market_calendars/calendar_utils.py index 574b1e6..42a77e8 100644 --- a/pandas_market_calendars/calendar_utils.py +++ b/pandas_market_calendars/calendar_utils.py @@ -1,6 +1,7 @@ """ Utilities to use with market_calendars """ + import itertools import warnings diff --git a/pandas_market_calendars/holidays/jpx_equinox.py b/pandas_market_calendars/holidays/jpx_equinox.py index e36b4dc..785a22c 100644 --- a/pandas_market_calendars/holidays/jpx_equinox.py +++ b/pandas_market_calendars/holidays/jpx_equinox.py @@ -11,6 +11,7 @@ using pyephem (http://rhodesmill.org/pyephem/quick.html#equinoxes-solstices). For a double check, see: https://aa.usno.navy.mil/data/docs/EarthSeasons.php """ + import pandas as pd from pandas.tseries.holiday import sunday_to_monday