From 6a9ee7fdf21d7cd31ebeb3f243ef38e25f437b96 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 20:51:53 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.10 → v0.15.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.10...v0.15.11) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e2246c6..213885c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.10 + rev: v0.15.11 hooks: - id: ruff args: [--fix, --unsafe-fixes] From 00508edd6a740ec914b1f043af84c0cc4869a161 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 20:52:00 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- heist/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heist/views.py b/heist/views.py index 4fc1905b..4c908ab4 100644 --- a/heist/views.py +++ b/heist/views.py @@ -221,7 +221,7 @@ def _build_content(self, disabled: bool = False): else f"Lv.{self.player_level}" ) - lines = [f"## 🎯 Choose Your Heist\n"] + lines = ["## 🎯 Choose Your Heist\n"] for name, data in page_heists: loot_item = name if name in ITEMS and ITEMS[name][1].get("type") == "loot" else None if loot_item: @@ -359,7 +359,7 @@ def __init__(self, cog, ctx: commands.Context, currency_name: str, costs: dict): def _build_content(self, disabled: bool = False): self.clear_items() section_label, item_type = self.pages[self.page] - total = len(self.pages) + len(self.pages) items = [ (name, emoji, data)