-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (75 loc) · 1.95 KB
/
pyproject.toml
File metadata and controls
88 lines (75 loc) · 1.95 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[project]
name = "discord-clyde"
version = "0.6.0"
description = "A modern, type-hinted Python library for seamless interaction with the Discord Webhook API."
readme = "README.md"
authors = [
{ name = "Ethan C", email = "16727756+EthanC@users.noreply.github.com" },
]
requires-python = ">=3.11"
dependencies = [
"msgspec>=0.21.1",
"niquests>=3.18.6",
]
license = "AGPL-3.0"
license-files = ["LICENSE"]
keywords = ["discord", "webhook", "rest", "api", "library", "wrapper"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
]
[project.urls]
Repository = "https://github.com/EthanC/Clyde"
Issues = "https://github.com/EthanC/Clyde/issues"
Changelog = "https://github.com/EthanC/Clyde/releases"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.15.11",
"pytest>=9.0.3",
"pytest-cov>=7.1.0",
"environs>=15.0.1",
"ty>=0.0.31",
"zensical>=0.0.33",
"mkdocstrings-python>=2.0.3",
]
[tool.ruff]
fix = true
show-fixes = true
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
skip-magic-trailing-comma = true
[tool.ruff.lint]
select = ["I", "D"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/*.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.pytest]
strict_xfail = true
log_cli = true
log_cli_level = "DEBUG"
[tool.hatch.build.targets.wheel]
packages = ["clyde"]
[tool.tox]
requires = ["tox>=4.53.0", "tox-uv>=1.35.1"]
env_list = [
"3.14",
"3.13",
"3.12",
"3.11",
]
[tool.tox.env_run_base]
description = "Run test under {base_python}"
commands = [["pytest"]]
allowlist_externals = ["pytest"]
set_env = { TESTS_WEBHOOK_URL = "{env:TESTS_WEBHOOK_URL}" }