-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (43 loc) · 937 Bytes
/
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
[project]
name = "yuren"
version = "0.1.0"
description = "Yuren is a open source Instruction-following LLM based on baichuan."
authors = [
{ name = "Pleisto Inc", email = "[email protected]" }
]
license = "Apache-2.0"
dependencies = [
"mindformers==0.3.0",
"protobuf==3.*",
"mindspore==1.7.0",
"setuptools>=68.0.0"
]
readme = "README.md"
requires-python = ">= 3.7"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"ruff>=0.0.274",
"isort>=5.12.0",
"black>=23.3.0",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.rye.workspace]
members = ["apps/*", "libs/*"]
[tool.rye.scripts]
webui = { cmd = ["python", "-mwebui.app"] }
[tool.ruff]
line-length = 120
[tool.black]
line-length = 120
target-version = ['py37']
preview = true
[tool.isort]
atomic = true
profile = "black"
line_length = 120
py_version = 310