-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
126 lines (108 loc) · 2.73 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "3515.games"
description = ""
version = "1.0.2"
authors = ["celsiusnarhwal <[email protected]>"]
packages = [{ include = "bot" }]
[tool.poetry.dependencies]
python = "^3.11.1"
alianator = "^4.0.1"
attrs = "^22.2.0"
chess = "^1.9.0"
dict-deep = "^4.1.2"
elysia = "^1.1.1"
humanize = "^4.0.0"
inflect = "^6.0.4"
jinja2 = "^3.1.4"
jinja2-simple-tags = "^0.4.1"
llist = "^0.7.1"
natsu = "^1.0.1"
nest-asyncio = "^1.5.6"
nltk = "^3.9"
ordered-set = "^4.1.0"
orjson = "^3.9.15"
path = "^16.4.0"
pendulum = "^2.1.2"
psycopg2 = "^2.9.6"
py-cord = "^2.1.1"
pydantic = "^1.10.13"
PyGithub = "^1.55"
sortedcontainers = "^2.4.0"
svglib = "^1.4.1"
tomlkit = "^0.11.6"
wonderwords = "^2.2.0"
pony = { git = "https://github.com/jspricke/pony", rev = "01026c2b043a9d468d88bceff53062ac8f653ba1" }
[tool.poetry.group.dev.dependencies]
doppler-env = "^0.3.1"
poethepoet = "^0.19.0"
rich-tracebacks = "^1.2.1"
[tool.poetry.group.kurisu.dependencies]
beautifulsoup4 = "^4.12.2"
gitpython = "^3.1.41"
halo = "^0.0.31"
marko = "^1.3.0"
pip-licenses = "^4.0.3"
pyperclip = "^1.8.2"
semver = "^3.0.0"
typer = { extras = ["all"], version = "^0.7.0" }
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
cairosvg = "^2.6.0"
pillow = "^9.5.0"
poethepoet = "^0.19.0"
mkdocs-material = { git = "https://github.com/squidfunk/mkdocs-material-insiders" }
[tool.poetry.group.repl]
optional = true
[tool.poetry.group.repl.dependencies]
ipython = "^8.11.0"
[tool.poetry.scripts]
kurisu = "kurisu.cli:app"
[tool.black]
line-length = 88
target-version = ["py311"]
[tool.isort]
profile = "black"
src_paths = ["./**"]
known_third_party = ["chess"]
[tool.poe.tasks]
clear = "rm -rf site .cache"
format = { shell = "for hook in black prettier isort; do pre-commit run $hook --all-files; done" }
[tool.poe.tasks.docs]
shell = """
if $vercel; then
mkdocs build && vercel dev --cwd site
else
mkdocs serve
fi
"""
env = { VERCEL_ORG_ID = "${VERCEL_ORG_ID}", VERCEL_PROJECT_ID = "${VERCEL_PROJECT_ID}" }
[[tool.poe.tasks.docs.args]]
name = "vercel"
options = ["--vercel"]
type = "boolean"
default = false
[tool.poe.tasks.release]
shell = """
version=$(poetry version -s)
notes=$(kurisu notes)
if $publish; then
gh release create $version -t $version -n "$notes"
else
gh release create $version -t $version -n "$notes" -d
fi
"""
[[tool.poe.tasks.release.args]]
name = "publish"
options = ["--publish"]
type = "boolean"
default = false
[tool.poe.tasks.fontawesome]
shell = """
npm i --no-save @celsiusnarhwal/fontawesome
mv node_modules/@celsiusnarhwal/fontawesome/svgs docs/.overrides/.icons/fontawesome
rm -rf node_modules
"""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"