diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1969097..0bb8b741 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -32,8 +32,8 @@ repos: - id: autoflake args: ['--in-place', '--remove-unused-variable'] -- repo: https://github.com/psf/black - rev: '24.4.2' +- repo: https://github.com/psf/black-pre-commit-mirror + rev: '25.9.0' hooks: - id: black - repo: https://github.com/Pierre-Sassoulas/black-disable-checker @@ -41,7 +41,7 @@ repos: hooks: - id: black-disable-checker - repo: https://github.com/pycqa/isort - rev: '5.13.2' + rev: '6.1.0' hooks: - id: isort - repo: local diff --git a/giveaways/converter.py b/giveaways/converter.py index 4cc95f9f..74b0665b 100644 --- a/giveaways/converter.py +++ b/giveaways/converter.py @@ -161,12 +161,11 @@ async def convert(self, ctx, argument): raise BadArgument( "This may be the wrong leveling cog. Ensure you are using Fixators." ) - + if vals["levelupreq"]: cog = ctx.bot.get_cog("LevelUp") if not cog: raise BadArgument("LevelUp cog not loaded.") - if vals["tatsu_level"] or vals["tatsu_rep"]: token = await ctx.bot.get_shared_api_tokens("tatsumaki") diff --git a/unbelievaboat/roulette.py b/unbelievaboat/roulette.py index 5d2f7ee9..a1d32360 100644 --- a/unbelievaboat/roulette.py +++ b/unbelievaboat/roulette.py @@ -51,7 +51,7 @@ 35: "black", } -EMOJIS = {"black": "\u2B1B", "red": "\U0001F7E5", "green": "\U0001F7E9"} +EMOJIS = {"black": "\u2b1b", "red": "\U0001f7e5", "green": "\U0001f7e9"} COLUMNS = [ [1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34],