📝 Add examples

This commit is contained in:
2025-03-08 20:42:14 +01:00
parent bfcb7cc33d
commit 7dde4fd16f
5 changed files with 217 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
keywords = ["discord", "bot", "rest", "pycord"]
@@ -50,6 +49,7 @@ source_archive = "https://github.com/Paillat-dev/pycord-rest/archive/{commit_has
name = "pycord-rest-bot"
[tool.hatch.build]
packages = ["src/pycord_rest"]
exclude = [
".copywrite.hcl",
".github",
@@ -62,8 +62,13 @@ include = [
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "all"
reportUnusedCallResult = false
reportAny = false
executionEnvironments = [{ root = "src/pycord_rest/_version.py", reportDeprecated = false }]
executionEnvironments = [
{ root = "src/pycord_rest/_version.py", reportDeprecated = false },
{ root = "examples", reportExplicitAny = false, reportUnknownMemberType = false, reportUnusedParameter = false, reportImplicitOverride = false }
]
[tool.ruff]
target-version = "py312"
@@ -83,6 +88,7 @@ exclude = [
[tool.ruff.lint]
select = ["ALL"]
per-file-ignores = { "examples/**/*" = ["INP001", "ARG002"] }
extend-ignore = [
"N999",
"D104",