-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (65 loc) · 1.57 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
[project]
name = "lion-service"
version = "1.2.0"
description = "lion api service system"
authors = [
{ name = "HaiyangLi", email = "[email protected]" },
{ name = "Alina Luo", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"aiocache>=0.12.3",
"aiohttp>=3.11.10",
"pydantic>=2.10.3",
"tiktoken>=0.8.0",
]
license = {file = "LICENSE"}
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Framework :: Pydantic",
"Framework :: Pydantic :: 2",
"Framework :: Pytest",
]
[dependency-groups]
dev = [
"black>=24.10.0",
"isort>=5.13.2",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.0",
]
[tool.black]
line-length = 79
target-version = ['py311']
[tool.isort]
profile = "black"
line_length = 79
[tool.flake8]
ignore = ["E203", "W503", "E501", "E402"]
max-line-length = 79
exclude = [".git", "__pycache__", "build", "dist", ".venv"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
[tool.hatch.build.targets.wheel]
packages = ["lion_service"]
[tool.hatch.build]
exclude = [
"dev/*",
"data/*",
"notebooks/*",
"tests/*",
"*.pyc",
"__pycache__",
"temp_logs/*",
"logs/*"
]