-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.44 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (59 loc) · 1.44 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
[project]
name = "python-harness"
version = "0.1.0"
description = "AI 코딩 에이전트를 위한 하네스 엔지니어링 프레임워크"
requires-python = ">=3.11"
dependencies = [
"pyyaml>=6.0",
"pydantic>=2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.11.0",
"mypy>=1.15",
"types-PyYAML>=6.0",
]
[project.scripts]
harness = "scripts.run_harness:main"
auto-pr-pipeline = "scripts.auto_pr_pipeline:main"
create-pr-body = "scripts.create_pr_body:main"
harness-init = "scripts.init_harness:main"
harness-doctor = "scripts.doctor:main"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific
]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["harness"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "harness.tools.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.hatch.build.targets.wheel]
packages = ["harness"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"