diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 322b535..7bd7711 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,12 +33,9 @@ jobs: run: | python -m pip install --upgrade pip pip install ruff - - uses: chartboost/ruff-action@v1 + - uses: astral-sh/ruff-action@v3 with: args: 'check' - - uses: chartboost/ruff-action@v1 - with: - args: 'format --check' build: name: Build distribution 📦 diff --git a/src/baseball_stats_python/statcast/catcher_throwing.py b/src/baseball_stats_python/statcast/catcher_throwing.py index d332e99..10be167 100644 --- a/src/baseball_stats_python/statcast/catcher_throwing.py +++ b/src/baseball_stats_python/statcast/catcher_throwing.py @@ -43,8 +43,9 @@ def catcher_throwing( ) params = { - 'gameType': game_type, - 'season': season, + 'game_type': game_type, + 'season_start': season, + 'season_end': season, 'n': 0, } diff --git a/src/baseball_stats_python/statcast/runner_basestealing.py b/src/baseball_stats_python/statcast/runner_basestealing.py index 645603d..6eb59e4 100644 --- a/src/baseball_stats_python/statcast/runner_basestealing.py +++ b/src/baseball_stats_python/statcast/runner_basestealing.py @@ -65,7 +65,8 @@ def runner_basestealing( params = { 'game_type': game_type, - 'season': season, + 'season_start': season, + 'season_end': season, 'n': 0, 'pitch_hand': get_hand_param_str(pitch_hand), 'prior_pk': get_prior_pk_param_str(prior_pk),