From 3989a5f4efb731842b026334e23132d7da46cce6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 01:06:29 +0000 Subject: [PATCH 1/2] Bump actions/setup-python from 5 to 6 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/lint_python.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint_python.yaml b/.github/workflows/lint_python.yaml index c8b360d5..9633e314 100644 --- a/.github/workflows/lint_python.yaml +++ b/.github/workflows/lint_python.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v5 with: ref: ${{ env.ref }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.9" - run: "python -m pip install git+https://github.com/pycqa/pyflakes@1911c20#egg=pyflakes git+https://github.com/pycqa/pycodestyle@d219c68#egg=pycodestyle git+https://github.com/pycqa/flake8@3.7.9#egg=flake8" From 7ec7874fd66477da5aa1e81cf25c37858e2ede24 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 01:08:12 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- easterhunt/README.md | 1 - nba/nba.py | 10 +++++++++- pokemon/pokemon.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/easterhunt/README.md b/easterhunt/README.md index ac7dc086..a364cf15 100644 --- a/easterhunt/README.md +++ b/easterhunt/README.md @@ -124,4 +124,3 @@ Use the achievement key from [p]easterhunt achievements.
## [p]ownerset resetall Reset all Easter hunt data for all users and global config.
- Usage: `[p]ownerset resetall` - diff --git a/nba/nba.py b/nba/nba.py index 7977854c..33367594 100644 --- a/nba/nba.py +++ b/nba/nba.py @@ -164,7 +164,15 @@ async def periodic_check(self): (game_id, home_team, away_team, home_score, away_score, game_clock, period) VALUES (?, ?, ?, ?, ?, ?, ?) """, - (game_id, home_team_name, away_team_name, home_score, away_score, game_clock, period), + ( + game_id, + home_team_name, + away_team_name, + home_score, + away_score, + game_clock, + period, + ), ) conn.commit() self.finalized_games.add(game_id) diff --git a/pokemon/pokemon.py b/pokemon/pokemon.py index 9366c7ac..8378f4c5 100644 --- a/pokemon/pokemon.py +++ b/pokemon/pokemon.py @@ -22,13 +22,13 @@ SOFTWARE. """ +import asyncio from datetime import datetime, timedelta, timezone from random import randint import aiohttp import discord import orjson -import asyncio from discord import File from red_commons.logging import getLogger from redbot.core import app_commands, commands