This repository has been archived by the owner on May 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
95 lines (84 loc) · 2.38 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
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
89
90
91
92
93
94
95
[tool.poetry]
name = "Yami"
version = "0.4.1.post0"
description = "A command handler that complements Hikari."
license = "GPL-3.0-or-later"
homepage = "https://github.com/Jonxslays/Yami"
repository = "https://github.com/Jonxslays/Yami"
documentation = "https://jonxslays.github.io/Yami"
authors = ["Jonxslays"]
readme = "README.md"
packages = [
{ include = "yami" },
{ include = "yami/py.typed" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
# "Programming Language :: Python :: 3.11", # Blocked by hikari
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[tool.poetry.scripts]
yami = "yami._cli:info"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
hikari = "==2.0.0.dev109"
aiodns = { version = "~=3.0", optional = true }
cchardet = { version = "~=2.1", optional = true }
brotli = { version = "~=1.0", optional = true }
ciso8601 = { version = "~=2.2", optional = true }
[tool.poetry.extras]
speedups = ["aiodns", "cchardet", "brotli", "ciso8601"]
[tool.poetry.dev-dependencies]
pytest = "==7.1.2"
black = "==22.3.0"
flake8 = "==4.0.1"
isort = "==5.10.1"
nox = "==2022.1.7"
pyright = "==1.1.256"
pytest-asyncio = "==0.18.3"
mypy = "==0.961"
toml = "==0.10.2"
len8 = "==0.7.3.post0"
mock = "==4.0.3"
types-mock = "==4.0.15"
coverage = "==6.4.1"
pytest-testdox = "==3.0.1"
sphinx = "==5.0.2"
sphinx-rtd-theme = "==1.0.0"
sphinx-rtd-dark-mode = "==1.2.4"
[tool.black]
line-length = 99
extend-exclude = "this.py|docs"
[tool.isort]
profile = "black"
[tool.len8]
include = ["yami", "tests", "noxfile.py"]
exclude = ["docs"]
code-length = 99
docs-length = 72
strict = true
[tool.mypy]
strict = true
warn_unused_ignores = false
[tool.pyright]
include = ["yami"]
ignore = ["tests"]
typeCheckingMode = "strict"
reportImportCycles = false
reportPrivateUsage = "information"
reportUnnecessaryIsInstance = false
[tool.pytest.ini_options]
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"