-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
58 lines (48 loc) · 1.44 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pdm.source]
name = "public"
url = "https://github.com/AlexFlipnote/discord.http"
[project]
name = "discord.http"
description = "Python library that handles interactions from Discord POST requests."
requires-python = ">=3.11.0"
license = {text = "MIT"}
dynamic = ["version"]
readme = "README.md"
keywords = ["discord", "http", "api", "interaction", "quart", "webhook", "slash"]
authors = [{name = "AlexFlipnote", email = "[email protected]"}]
dependencies = [
"quart>=0.18.4",
"PyNaCl",
"aiohttp",
]
[project.optional-dependencies]
dev = ["pyright", "flake8", "toml"]
docs = ["sphinx", "furo", "myst-parser"]
maintainer = ["twine", "wheel", "build"]
[tool.setuptools]
packages = ["discord_http"]
[tool.setuptools.dynamic]
version = {attr = "discord_http.__version__"}
readme = {file = ["README.md"]}
[tool.flake8]
max-line-length = 128
ignore = [
"D210", "D400", "D401", "D100", "D202", "D413", "D107",
"D101", "D103", "D102", "E121", "D205", "D209", "D105",
"E252", "W605", "W504", "E128", "E124", "E999", "W504"
]
[tool.pyright]
reportOptionalOperand = "none"
reportOptionalSubscript = "none"
reportOptionalMemberAccess = "none"
reportUnnecessaryTypeIgnoreComment = "warning"
typeCheckingMode = "basic"
pythonVersion = "3.11"
include = ["discord_http"]
exclude = [
"**/__pycache__", "**/*.pyc", "*.egg-info",
".venv", "build", "docs", "dist",
]