-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (59 loc) · 1.31 KB
/
pyproject.toml
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
[project]
name = "ros_to_markdown"
version = "0.1.0"
description = "Convert ROS systems to Markdown for LLM processing"
authors = [
{ name = "Rob Royce", email = "[email protected]" }
]
requires-python = ">=3.8,<3.13"
dependencies = [
"pyyaml>=5.3.1",
]
readme = "README.md"
license = { text = "Apache 2.0" }
[project.optional-dependencies]
ros1 = [
"rospy",
"rospkg>=1.5.0",
"catkin-tools>=0.9.0",
]
ros2 = [
"rclpy",
"ament-package>=0.14.0",
"ros2cli>=0.18.0",
]
dev = [
"black>=23.0",
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.0.290",
"pytest-mock>=3.10.0",
"pytest-asyncio>=0.21.0"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
packages = ["src/ros_to_markdown"]
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra -q --cov=ros_to_markdown"
markers = [
"integration: marks tests that interact with a real ROS environment",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
exclude = 'tests'
ignore_missing_imports = true
# mypy per-module options:
[[tool.mypy.overrides]]
module = ".*"
disallow_untyped_defs = true