-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (98 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
112 lines (98 loc) · 2.61 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
[project]
name = "physical-ai-toolchain"
version = "0.7.4"
description = "Physical AI Toolchain for Isaac Lab training"
readme = "README.md"
requires-python = ">=3.12"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["training/rl"]
[dependency-groups]
dev = [
"hypothesis==6.152.1",
"numpy==2.4.4",
"ruff==0.15.11",
"pytest==9.0.3",
"pytest-mock==3.15.1",
"pytest-cov==7.1.0",
"pydantic==2.13.3",
"ipykernel==7.2.0",
"ipywidgets==8.1.8",
"tqdm==4.67.3",
"matplotlib==3.10.8",
"azureml-mlflow==1.62.0.post2",
"azure-ai-ml==1.32.0",
]
fuzz = ["atheris>=3.0"]
[tool.uv]
package = false
constraint-dependencies = ["pygments==2.20.0"]
[tool.pytest.ini_options]
testpaths = ["tests", "training/tests", "data-management/tools/tests", "fleet-deployment/inference/tests"]
pythonpath = [".", "data-management/tools"]
python_files = ["test_*.py", "fuzz_harness.py"]
addopts = [
"-ra",
"-m",
"not e2e",
"--strict-markers",
"--strict-config",
"--junitxml=logs/pytest-results.xml",
]
markers = [
"e2e: marks tests that submit real GPU training jobs (deselect: -m 'not e2e')",
]
filterwarnings = [
"ignore::marshmallow.warnings.RemovedInMarshmallow4Warning",
"ignore::marshmallow.warnings.ChangedInMarshmallow4Warning",
]
[tool.hypothesis]
max_examples = 50
deadline = 500
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
[tool.ruff.lint.per-file-ignores]
"fleet-deployment/inference/act_inference_node.py" = ["E402"]
"evaluation/sil/play.py" = ["E402"]
"evaluation/sil/play_policy.py" = ["E402"]
"evaluation/sil/monitor_checkpoints.py" = ["E402"]
"training/rl/scripts/rsl_rl/*.py" = ["E402"]
"data-management/viewer/backend/tests/*.py" = ["E402"]
"data-pipeline/capture/tests/test_config_models.py" = ["E402"]
"data-pipeline/capture/tests/test_config_models_hypothesis.py" = ["E402"]
[tool.ruff.lint.isort]
known-first-party = ["training"]
[tool.ruff.format]
quote-style = "double"
[tool.coverage.run]
source = ["training"]
branch = true
omit = [
"training/**/conftest.py",
"training/**/__init__.py",
]
[tool.coverage.report]
show_missing = true
precision = 2
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.coverage.xml]
output = "logs/coverage.xml"