-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (56 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (56 loc) · 1.79 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
[project]
name = "noether"
version = "0.1.0"
description = "Agentic symbolic-physics collaborator: LaTeX action in, verified field equations out"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.7",
"sympy>=1.13",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"ruff>=0.5",
]
server = [
"fastapi>=0.111",
"uvicorn>=0.30",
"httpx>=0.27",
]
mcp = [
"mcp>=1.2",
]
[project.scripts]
noether = "noether.cli.main:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["noether*"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# Frozen kernel scripts are verbatim artifacts; do not reflow their lines.
"noether/kernels/cadabra/templates.py" = ["E501"]
# blocks.py assembles Cadabra-script fragments (same verbatim-artifact reason).
"noether/kernels/cadabra/blocks.py" = ["E501"]
# curvature.py emits Cadabra substitution fragments (same verbatim-artifact reason).
"noether/kernels/cadabra/curvature.py" = ["E501"]
# test_curvature.py embeds verbatim Cadabra declaration strings.
"tests/test_curvature.py" = ["E501"]
# horndeski_g4g5.py assembles Cadabra-script fragments (same verbatim-artifact reason).
"noether/kernels/cadabra/horndeski_g4g5.py" = ["E501"]
# test_horndeski_g4g5.py embeds verbatim Cadabra declaration strings.
"tests/test_horndeski_g4g5.py" = ["E501"]
# test_einstein_cartan.py and test_hypermomentum.py embed Cadabra scripts.
"tests/test_einstein_cartan.py" = ["E501"]
"tests/test_hypermomentum.py" = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests", "evals"]
markers = [
"kernel_cadabra: requires a working cadabra2 kernel",
"slow: long-running symbolic computation",
]