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] 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)