Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (118 loc) · 3.02 KB
/
Copy pathpyproject.toml
File metadata and controls
134 lines (118 loc) · 3.02 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "helices"
version = "0.1.5"
description = "Framework for reproducible autonomous research loops"
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
dependencies = [
"anyio>=4.13.0",
"pydantic>=2.12.5",
"pyyaml>=6.0.3",
"rich>=14.3.3",
]
[project.optional-dependencies]
claude = ["claude-agent-sdk>=0.1.51"]
[project.scripts]
helix = "helix.cli:main"
[build-system]
requires = ["hatchling>=1.29.0"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/helix"]
[dependency-groups]
dev = [
"claude-agent-sdk>=0.1.51",
"cryptography>=46.0.7",
"mypy>=1.19.1",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-asyncio>=0.25.3",
"pytest-cov>=6.0.0",
"ruff>=0.15.8",
"types-pyyaml>=6.0.12",
]
[tool.uv]
default-groups = ["dev"]
constraint-dependencies = [
"click>=8.3.3",
"idna>=3.15",
"mcp>=1.28.1",
"pydantic-settings>=2.14.2",
"pyjwt>=2.14.0",
"python-multipart>=0.0.31",
"virtualenv>=21.7.13",
"starlette>=1.3.1",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.mypy]
follow_imports = "normal"
ignore_missing_imports = true
install_types = true
pretty = true
non_interactive = true
allow_untyped_defs = false
no_implicit_optional = true
check_untyped_defs = true
namespace_packages = true
explicit_package_bases = true
warn_unused_configs = true
allow_subclassing_any = false
allow_untyped_calls = false
allow_incomplete_defs = false
allow_untyped_decorators = false
warn_redundant_casts = true
warn_unused_ignores = true
implicit_reexport = false
strict_equality = true
extra_checks = true
[tool.coverage.run]
source = ["src/helix"]
omit = ["tests/*", "*__init__.py"]
[tool.ruff]
include = ["*.py", "pyproject.toml"]
line-length = 120
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"COM", # flake8-commas
"C4", # flake8-comprehensions
"RET", # flake8-return
"SIM", # flake8-simplify
"ICN", # flake8-import-conventions
"Q", # flake8-quotes
"RSE", # flake8-raise
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"W", # pycodestyle
"N", # pep8-naming
"ERA", # eradicate
"PL", # pylint
]
fixable = ["A", "B", "COM", "C4", "RET", "SIM", "ICN", "Q", "RSE", "D", "E", "F", "I", "W", "N", "ERA", "PL"]
ignore = [
"B905", # zip() without strict=
"E501", # line too long
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"PLR2004", # Replace magic number with named constant
"PLR0913", # Too many arguments
"COM812", # Missing trailing comma
"ERA001", # Found commented-out code
]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pycodestyle]
max-doc-length = 120