This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
pyproject.toml
79 lines (70 loc) · 2.06 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
[tool.poetry]
name = "pincer"
version = "0.16.1"
description = "Discord API wrapper rebuilt from scratch."
readme = "docs/PYPI.md"
homepage = "https://pincer.dev"
documentation = "https://docs.pincer.dev"
repository = "https://github.com/Pincer-org/Pincer"
authors = ["Pincer-org <contact@pincer.dev>"]
license = "MIT"
packages = [ {include = 'pincer'} ]
keywords = ["discord", "api", "asynchronous", "websockets", "aiohttp"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
[tool.poetry.urls]
"Discord" = "https://discord.gg/8WkYz3fNFm"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
aiohttp = "^3.8.1"
Pillow = {version = "^9.2.0", optional = true}
types-Pillow = {version = "^9.2.1", optional = true}
orjson = {version = "^3.7.11", optional = true}
Brotli = {version = "^1.0.9", optional = true}
aiodns = {version = "^3.0.0", optional = true}
cchardet = {version = "^2.1.7", optional = true}
[tool.poetry.dev-dependencies]
coverage = "^6.4"
flake8 = "^5.0.4"
pre-commit = "^2.20.0"
pytest = "^7.1.3"
pytest-cov = "^3.0.0"
mypy = "^0.971"
pytest-asyncio = "^0.19.0"
nox = "^2022.11.21"
isort = "^5.11.4"
[tool.poetry.extras]
img = ["Pillow", "types-Pillow"]
speed = ["orjson", "Brotli", "aiodns", "cchardet"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[options.package_data]
pincer = "py.typed"
[tool.pytest.ini_options]
testpaths = [
"tests", "tests/core"
]
[tool.mypy]
mypy_path = "pincer"
check_untyped_defs = true
disallow_any_generics = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
[tool.black]
line-length = 88
target-version = ['py38']