Skip to content

Commit 58a7da5

Browse files
[meta] update pre-commit (#211)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 02331c6 commit 58a7da5

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ default_language_version:
44
python: python3.8
55
repos:
66
- repo: https://github.com/psf/black
7-
rev: 22.12.0
7+
rev: 23.1.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/pycqa/isort
11-
rev: 5.11.4
11+
rev: 5.12.0
1212
hooks:
1313
- id: isort
1414
ci:

captcha/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ async def _send_patchnote(self) -> None:
401401
async with notice.get_users_lock():
402402
old_patchnote_version: str = await notice.user(self.bot.user).version()
403403
if old_patchnote_version != __patchnote_version__:
404-
405404
# Determine if this is the first time the user is using the cog (Not a change
406405
# of repo, see https://github.com/fixator10/Fixator10-Cogs/pull/163)
407406
if __patchnote_version__ == "2" and (not await self.data.was_loaded_once()):

leveler/commands/db_converters/meesix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ async def convertlevels(self, ctx, pages: int):
4545
async with self.session.get(
4646
f"https://mee6.xyz/api/plugins/levels/leaderboard/{ctx.guild.id}?page={i}&limit=999"
4747
) as r:
48-
4948
if r.status == 200:
5049
data = await r.json()
5150
else:

leveler/commands/lvladmin/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ async def allow_global_top(self, ctx):
211211
async def globallevels(self, ctx):
212212
"""Show levels in global leaderboard.
213213
214-
This may significantly increase leaderboard loading times and the bot's CPU and RAM usage."""
214+
This may significantly increase leaderboard loading times and the bot's CPU and RAM usage.
215+
"""
215216
server = ctx.guild
216217
if await self.config.global_levels():
217218
await self.config.global_levels.set(False)

0 commit comments

Comments
 (0)