mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 00:56:19 +00:00
♻️ Remove unused imports and update quality checks to target the current directory
This commit is contained in:
6
.github/workflows/quality.yaml
vendored
6
.github/workflows/quality.yaml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
"""Example showing how to work with modals in Pycord REST."""
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
from typing import Any
|
||||
|
||||
|
||||
Reference in New Issue
Block a user