-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add populate feature to Player.play (#300)
* Update to ruff. * Add populate to play * Bump version. * Add typing_extensions to requirements * ignore docs in ruff. * Run ruff.
- Loading branch information
Showing
29 changed files
with
258 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "wavelink" | ||
version = "3.2.1" | ||
version = "3.3.0" | ||
authors = [ | ||
{ name="PythonistaGuild, EvieePy", email="[email protected]" }, | ||
] | ||
|
@@ -38,14 +38,70 @@ dependencies = {file = ["requirements.txt"]} | |
[tool.setuptools.package-data] | ||
wavelink = ["py.typed"] | ||
|
||
[tool.black] | ||
[tool.ruff] | ||
line-length = 120 | ||
indent-width = 4 | ||
exclude = ["venv", "docs/"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
[tool.ruff.lint] | ||
select = [ | ||
"C4", | ||
"E", | ||
"F", | ||
"G", | ||
"I", | ||
"PTH", | ||
"RUF", | ||
"SIM", | ||
"TCH", | ||
"UP", | ||
"W", | ||
"PERF", | ||
"ANN", | ||
] | ||
ignore = [ | ||
"F402", | ||
"F403", | ||
"F405", | ||
"PERF203", | ||
"RUF001", | ||
"RUF009", | ||
"SIM105", | ||
"UP034", | ||
"UP038", | ||
"ANN101", | ||
"ANN102", | ||
"ANN401", | ||
"UP031", | ||
"PTH123", | ||
"E203", | ||
"E501", | ||
"RUF006" | ||
] | ||
|
||
[tool.ruff.lint.isort] | ||
split-on-trailing-comma = true | ||
combine-as-imports = true | ||
lines-after-imports = 2 | ||
|
||
[tool.ruff.lint.flake8-annotations] | ||
allow-star-arg-any = true | ||
|
||
[tool.ruff.lint.flake8-quotes] | ||
inline-quotes = "double" | ||
|
||
[tool.ruff.format] | ||
quote-style = "double" | ||
indent-style = "space" | ||
skip-magic-trailing-comma = false | ||
line-ending = "auto" | ||
|
||
[tool.pyright] | ||
exclude = ["venv"] | ||
ignore = ["test*.py", "examples/*.py", "docs/*"] | ||
pythonVersion = "3.10" | ||
useLibraryCodeForTypes = true | ||
typeCheckingMode = "strict" | ||
reportImportCycles = false | ||
reportPrivateUsage = false | ||
pythonVersion = "3.10" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
aiohttp>=3.7.4,<4 | ||
discord.py>=2.0.1 | ||
yarl>=1.9.2 | ||
async_timeout | ||
async_timeout | ||
typing_extensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.