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:
|
include:
|
||||||
- check: format
|
- check: format
|
||||||
name: "Format Check"
|
name: "Format Check"
|
||||||
command: "uv run ruff format --check src"
|
command: "uv run ruff format --check ."
|
||||||
- check: lint
|
- check: lint
|
||||||
name: "Lint Check"
|
name: "Lint Check"
|
||||||
command: "uv run ruff check src"
|
command: "uv run ruff check ."
|
||||||
- check: basedpyright
|
- check: basedpyright
|
||||||
name: "Type Check"
|
name: "Type Check"
|
||||||
command: "uv run basedpyright src"
|
command: "uv run basedpyright ."
|
||||||
|
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ This is a minimal example showing how to create slash commands.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from pydoc import describe
|
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
"""Example showing how to work with modals in Pycord REST."""
|
"""Example showing how to work with modals in Pycord REST."""
|
||||||
|
|
||||||
import asyncio
|
|
||||||
import os
|
import os
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user