-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (47 loc) · 1.12 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
# SPDX-License-Identifier: MIT
[project]
name = "dispatcher"
description = "An extension to easily dispatch custom events for discord bots."
authors = [
{ name = "Snipy7374", email = "snipy7374@gmail.com" },
]
requires-python = ">=3.8"
keywords = ["discord", "discord API", "discord.py"]
readme = "README.md"
license = { text = "MIT" }
dynamic = ["version"]
[project.optional-dependencies]
lint = [
"disnake>=2.8.1", # Required for linting examples
]
[tool.pdm.version]
source = "file"
path = "dispatcher/__init__.py"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pyright]
typeCheckingMode = "strict"
reportInvalidStringEscapeSequence = true
reportUnusedImport = true
reportUnknownParameterType = true
reportUnknownArgumentType = false
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
[tool.isort]
profile = "black"
py_version = 38
line_length = 100
[tool.ruff]
line-length = 100
target-version = "py38"
ignore = [
"F403", # Star imports
]
[tool.pdm.dev-dependencies]
dev = [
"pre-commit>=3.1.1",
]
[tool.pdm.scripts]
setup_env = "pre-commit install"