style(repo): ruff fixes
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s

This commit is contained in:
cswimr 2025-01-26 14:13:37 +00:00
parent 9df7f15bbe
commit ea5f51892a
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
7 changed files with 39 additions and 38 deletions

View file

@ -183,7 +183,7 @@ class Backup(commands.Cog):
continue
cog_modules.append(cog_module)
for cog in set(cog.name for cog in cog_modules):
for cog in {cog.name for cog in cog_modules}:
poss_installed_path = (await downloader.cog_install_path()) / cog
if poss_installed_path.exists():
with contextlib.suppress(commands.ExtensionNotLoaded):