Skip to content

Commit

Permalink
Clean the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AiroPi committed Dec 17, 2023
1 parent 2524ff1 commit c4b6423
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 30 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
data/database
data/grafana
data/
config.toml

# editors
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can reach me over Discord at `@airo.pi`. Feel free to open an issue if you e

## How to contribute

I would ❤️ to see your contribution! Refer to [CONTRIBUTING.md](/CONTRIBUTING.md)
I would ❤️ to see your contribution! Refer to [CONTRIBUTING.md](.github/CONTRIBUTING.md)

## License

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ skipsdist = true
[testenv]
deps =
-r requirements.txt
-r requirements.txt
-r requirements-dev.txt
commands =
# pytest
Expand Down
3 changes: 0 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
black
bandit
toml
tox
pyright
isort
pytest
flake8
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ two048 # a personal library
topggpy==2.0.0a0
lingua-language-detector
aiohttp
python-dateutil
3 changes: 1 addition & 2 deletions src/cogs/clear/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
import asyncio
import logging
import time
from typing import TYPE_CHECKING, AsyncGenerator, Awaitable, Callable, cast
from typing import TYPE_CHECKING, AsyncGenerator, Awaitable, Callable, Self, cast

import discord
from discord import app_commands, ui
from discord.app_commands import Transform, locale_str as __
from typing_extensions import Self

from core import ExtendedCog, Menu, MessageDisplay, ResponseType, response_constructor
from core.checkers import MaxConcurrency
Expand Down
3 changes: 1 addition & 2 deletions src/commands_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
import json
from dataclasses import dataclass, field
from enum import Enum
from typing import TYPE_CHECKING, Any, TypedDict, cast, overload
from typing import TYPE_CHECKING, Any, NotRequired, TypedDict, cast, overload

import discord
from discord import app_commands
from typing_extensions import NotRequired

from core._config import define_config
from core.extended_commands import MiscCommand, MiscCommandsType
Expand Down
4 changes: 1 addition & 3 deletions src/core/checkers/max_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import asyncio
import logging
from collections import deque
from typing import TYPE_CHECKING, Any, Callable, Deque, Hashable, TypeVar, Union

from typing_extensions import Self
from typing import TYPE_CHECKING, Any, Callable, Deque, Hashable, Self, TypeVar, Union

from ..errors import MaxConcurrencyReached
from ..extended_commands import misc_check as misc_check
Expand Down
1 change: 0 additions & 1 deletion src/core/extended_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from discord import ClientUser, Member, Permissions, User
from discord.ext import commands
from discord.utils import maybe_coroutine
from typing_extensions import TypeVar

from ._types import BotT, CogT
from .errors import MiscCheckFailure, MiscCommandError, MiscNoPrivateMessage, UnexpectedError
Expand Down
2 changes: 1 addition & 1 deletion src/core/view_menus.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import os
from typing import TYPE_CHECKING, Any, Generic, Self
from typing import TYPE_CHECKING, Any, Generic, Self, TypeVar

import discord
from discord import ui
Expand Down
13 changes: 0 additions & 13 deletions tox.ini

This file was deleted.

0 comments on commit c4b6423

Please sign in to comment.