mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 00:56:19 +00:00
📝 Add examples
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user