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" 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