-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
33 lines (27 loc) · 830 Bytes
/
pyproject.toml
File metadata and controls
33 lines (27 loc) · 830 Bytes
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
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["partenit"]
[tool.ruff.lint.per-file-ignores]
# Isaac Sim bridge: SimulationApp must be initialized before other imports
"examples/isaac_sim/h1_bridge.py" = ["E402", "N806"]
# Sim helper scripts copied from _old/: acceptable style for demo code
"examples/isaac_sim/sim_frontend.py" = ["N806"]
"examples/isaac_sim/sim_camera.py" = ["N806"]
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-v --tb=short"
testpaths = ["tests", "partenit"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.black]
line-length = 100
target-version = ["py311"]