forked from Sheppsu/discord.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (44 loc) · 869 Bytes
/
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 125
skip-string-normalization = true
[tool.coverage.run]
omit = [
"discord/__main__.py",
"discord/types/*",
"*/_types.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload"
]
[tool.isort]
profile = "black"
combine_as_imports = true
combine_star = true
line_length = 125
[tool.pyright]
include = [
"discord",
"discord/app_commands",
"discord/types",
"discord/ui",
"discord/ext",
"discord/ext/commands",
"discord/ext/tasks",
]
exclude = [
"**/__pycache__",
"build",
"dist",
"docs",
]
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnusedImport = "error"
pythonVersion = "3.8"
typeCheckingMode = "basic"
[tool.pytest.ini_options]
asyncio_mode = "strict"