-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (85 loc) · 2.52 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (85 loc) · 2.52 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "prompt-vcs"
version = "0.6.0"
description = "Git-native prompt management library for LLM applications"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "emerard", email = "denghaowen59@gmail.com" }
]
maintainers = [
{ name = "emerard", email = "denghaowen59@gmail.com" }
]
keywords = ["llm", "prompt", "version-control", "git", "ai", "chatgpt", "langchain", "prompt-engineering"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control :: Git",
"Typing :: Typed",
]
dependencies = [
"jinja2>=3.1.0",
"pyyaml>=6.0",
"typer>=0.9.0",
"rich>=12.0.0",
"libcst>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/emerardd/prompt-vcs"
Repository = "https://github.com/emerardd/prompt-vcs"
Documentation = "https://github.com/emerardd/prompt-vcs#readme"
Issues = "https://github.com/emerardd/prompt-vcs/issues"
[project.optional-dependencies]
dev = [
"build>=1.2",
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.8",
"tomli>=2.0; python_version < '3.11'",
"twine>=5.0",
]
validation = [
"jsonschema>=4.0",
]
analysis = [
"scipy>=1.10",
]
[project.scripts]
pvcs = "prompt_vcs.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/prompt_vcs"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/examples",
"/README.md",
"/README.zh-CN.md",
"/LICENSE",
"/CHANGELOG.md",
"/pyproject.toml",
]
[tool.ruff.lint]
# Keep CI behavior stable when Ruff changes its default rule set.
select = ["E4", "E7", "E9", "F"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
# 忽略 testing.py 中的数据类收集警告(TestCase、TestSuite、TestStatus 是数据模型而非测试类)
filterwarnings = [
"ignore:cannot collect test class 'TestCase':pytest.PytestCollectionWarning",
"ignore:cannot collect test class 'TestSuite':pytest.PytestCollectionWarning",
"ignore:cannot collect test class 'TestStatus':pytest.PytestCollectionWarning",
]