diff --git a/.gitignore b/.gitignore index ccae5fc..146f160 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ Pipfile.lock .vscode/ .venv/ *.code-workspace +*.ini diff --git a/docs/conf.py b/docs/conf.py index 0114048..de04e51 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,4 @@ +# type: ignore import importlib import inspect import os diff --git a/docs/hdi/pool.md b/docs/hdi/pool.md index 790570e..713d8a3 100644 --- a/docs/hdi/pool.md +++ b/docs/hdi/pool.md @@ -93,7 +93,7 @@ await NodePool.create_node( spotify_client_secret="" apple_music=, fallback=, - log_level= + log_level= ) ``` diff --git a/examples/advanced.py b/examples/advanced.py index ba2c068..1db4d28 100644 --- a/examples/advanced.py +++ b/examples/advanced.py @@ -1,3 +1,4 @@ +# type: ignore """ This example aims to show the full capabilities of the library. This is in the form of a drop-in cog you can use and modify to your liking. diff --git a/examples/basic.py b/examples/basic.py index 0334359..a9ba500 100644 --- a/examples/basic.py +++ b/examples/basic.py @@ -1,3 +1,4 @@ +# type: ignore import discord from discord.ext import commands diff --git a/pomice/events.py b/pomice/events.py index 0d51afc..0dbe0b4 100644 --- a/pomice/events.py +++ b/pomice/events.py @@ -65,7 +65,7 @@ class TrackStartEvent(PomiceEvent): self.handler_args = self.player, self.track def __repr__(self) -> str: - return f"" + return f"" class TrackEndEvent(PomiceEvent): @@ -87,8 +87,8 @@ class TrackEndEvent(PomiceEvent): def __repr__(self) -> str: return ( - f"" + f"" ) diff --git a/pomice/player.py b/pomice/player.py index e1e84e8..69907da 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -149,7 +149,6 @@ class Player(VoiceProtocol): self.channel: VoiceChannel = channel self._bot: Client = client - self._guild: Guild = channel.guild self._node: Node = node if node else NodePool.get_node() self._current: Optional[Track] = None self._filters: Filters = Filters() diff --git a/setup.py b/setup.py index f3747dc..1b8e1a0 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +# type: ignore import re import setuptools