-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
49 lines (40 loc) · 1009 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
[tool.poetry]
name = "mocogpt"
version = "0.1.0"
description = "Moco GPT is stub GPT server which allows you build and test your LLM application locally."
authors = ["dreamhead <dreamhead.cn@gmail.com>"]
readme = "README.md"
license = "MIT"
packages = [{include = "mocogpt"}]
[tool.poetry.scripts]
mocogpt = "mocogpt.cli.app:app"
[tool.poetry.dependencies]
python = ">=3.11,<3.12"
aiohttp = "^3.9.5"
tiktoken = "^0.7.0"
click = {version = "^8.1.7", extras = ["cli"]}
loguru = {version = "^0.7.2", extras = ["cli"]}
[tool.poetry.extras]
cli = ["click", "loguru"]
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.1"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
openai = "^1.35.13"
pytest-cov = "^5.0.0"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
[tool.ruff]
line-length = 120
target-version = "py311"
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade,
"I", # isort
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"