From 8533e4b23f0b1ea688502f0bd18c76ce7eed6458 Mon Sep 17 00:00:00 2001 From: Paillat-dev Date: Sat, 8 Mar 2025 22:03:34 +0100 Subject: [PATCH] :recycle: Remove unused imports and update quality checks to target the current directory --- .github/workflows/quality.yaml | 6 +++--- examples/basic_bot.py | 1 - examples/modal_example.py | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 72f58bd..ddbe44b 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -24,13 +24,13 @@ jobs: include: - check: format name: "Format Check" - command: "uv run ruff format --check src" + command: "uv run ruff format --check ." - check: lint name: "Lint Check" - command: "uv run ruff check src" + command: "uv run ruff check ." - check: basedpyright name: "Type Check" - command: "uv run basedpyright src" + command: "uv run basedpyright ." name: ${{ matrix.name }} diff --git a/examples/basic_bot.py b/examples/basic_bot.py index dd88aca..1021225 100644 --- a/examples/basic_bot.py +++ b/examples/basic_bot.py @@ -7,7 +7,6 @@ This is a minimal example showing how to create slash commands. """ import os -from pydoc import describe import discord from dotenv import load_dotenv diff --git a/examples/modal_example.py b/examples/modal_example.py index cf4239f..40a1034 100644 --- a/examples/modal_example.py +++ b/examples/modal_example.py @@ -3,7 +3,6 @@ """Example showing how to work with modals in Pycord REST.""" -import asyncio import os from typing import Any