-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (69 loc) · 1.81 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gitbench"
version = "0.1.0"
description = "A benchmark harness for evaluating LLM-generated git commit messages"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "GitBench Team" }]
keywords = ["git", "benchmark", "llm", "commit-messages"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.0.0",
"pyyaml>=6.0",
"openai>=1.0.0",
"python-dotenv>=1.0.0",
"rich>=13.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-timeout>=2.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"pre-commit>=4.6.0",
]
all = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-timeout>=2.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
"pre-commit>=4.6.0",
]
[project.scripts]
gitbench = "gitbench.cli:cli"
[project.urls]
Homepage = "https://github.com/gitbench/gitbench"
Repository = "https://github.com/gitbench/gitbench"
[tool.setuptools.packages.find]
where = ["."]
include = ["gitbench*"]
[tool.setuptools.package-data]
gitbench = ["data/*.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = ["-v", "--tb=short", "--timeout=300"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
[tool.ruff]
line-length = 100
target-version = "py310"
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]