-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
62 lines (56 loc) · 1.25 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
[tool.poetry]
name = "discord.py-stubs"
version = "1.7.4dev0"
description = "discord.py stubs"
homepage = "https://github.com/bryanforbes/discord.py-stubs"
authors = ["Bryan Forbes <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
packages = [
{ include = "discord-stubs" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = "^3.6.2"
"discord.py" = "~1.7.0"
mypy = ">=0.800"
typing-extensions = "^3.7.4"
[tool.poetry.dev-dependencies]
black = "^21.7b0"
flake8 = "^3.9.2"
flake8-pyi = "^20.10.0"
isort = "^5.9.3"
pre-commit = "^2.14.0"
pytest = "^6.2.4"
pytest-mypy-plugins = "^1.9.3"
[tool.black]
line-length = 88
target-version = ["py36", "py37", "py38"]
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.venv
| external
)/
'''
[tool.isort]
known_first_party = ["discord"]
extra_standard_library = ["typing_extensions"]
virtual_env = ".venv"
profile = "black"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--mypy-ini-file=test-data/mypy.ini"
testpaths = ["test-data"]
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"