This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
59 lines (52 loc) · 1.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
[tool.poetry]
name = "CAI"
version = "0.1.0"
description = ""
authors = ["yanyongyu <[email protected]>"]
license = "AGPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/cscs181/CAI"
repository = "https://github.com/cscs181/CAI"
documentation = "https://github.com/cscs181/CAI#readme"
keywords = ["qq", "mirai", "cqhttp"]
classifiers = ["Framework :: Robot Framework", "Programming Language :: Python :: 3"]
include = ["cai/py.typed"]
[tool.poetry.dependencies]
python = "^3.7"
rtea = "^0.3.0"
jcestruct = "^0.1.0"
protobuf = "^3.14.0"
cachetools = "^4.2.2"
cryptography = "^3.4.1"
typing-extensions = ">=3.10.0,<5.0.0"
[tool.poetry.dev-dependencies]
isort = "^5.9.3"
black = "^21.7b0"
pillow = "^8.1.0"
sphinx = "^4.1.0"
mypy-protobuf = "^2.4"
sphinx-rtd-theme = "^0.5.1"
sphinx-copybutton = "^0.4.0"
sphinxcontrib-napoleon = "^0.7"
# [[tool.poetry.source]]
# name = "aliyun"
# url = "https://mirrors.aliyun.com/pypi/simple/"
# default = true
[tool.black]
line-length = 80
extend-exclude = '''
^/cai/pb/
'''
[tool.isort]
profile = "black"
line_length = 80
length_sort = true
extend_skip = "cai/pb"
skip_gitignore = true
force_sort_within_sections = true
extra_standard_library = "typing_extensions"
[tool.pyright]
ignore = [".vscode/*.py", "**/site-packages/**/*.py", "cai/pb/**/*_pb2.py"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"