@@ -15,22 +15,29 @@ classifiers = [
1515 " License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
1616]
1717
18+ dynamic = [" version" ]
19+
1820dependencies = [
1921 " mcap>=1.0.2" ,
20- " mcap-ros1-support>=0.6.0" ,
2122 " mcap-ros2-support>=0.3.0" ,
2223 " numpy" ,
2324 " pydantic>=2.4.2" ,
2425 " tqdm" ,
25- " pyyaml>=6.0.1" ,
26- " scipy>=1.11.1" ,
2726 " jsonargparse[signatures]>=4.35.0" ,
2827 " pointcloud2>=0.2.3" ,
2928 " pydantic-yaml>=1.2.1" ,
3029 " platformdirs>=4.3.8" ,
30+ " kappe[ros1]" , # remove when pyyaml is no longer imported by jsonargparse
3131]
3232
33- dynamic = [" version" ]
33+ [project .optional-dependencies ]
34+ all = [" kappe[plugin_image, ros1]" ]
35+ plugin_image = [" pillow>=8.0.0" ]
36+ ros1 = [" mcap-ros1-support>=0.6.0" ]
37+
38+ [dependency-groups ]
39+ test = [" pytest-cov>=6.2.1" , " pytest>=8.4.1" , " kappe[all]" , " scipy>=1.11.1" ]
40+
3441
3542[project .urls ]
3643repository = " https://github.com/sensmore/kappe"
@@ -39,13 +46,6 @@ repository = "https://github.com/sensmore/kappe"
3946kappe = " kappe.cli:main"
4047mcap_to_json = " kappe.utils.mcap_to_json:main"
4148json_to_mcap = " kappe.utils.json_to_mcap:main"
42-
43- [project .optional-dependencies ]
44- plugin_image = [" pillow>=8.0.0" ]
45-
46- [dependency-groups ]
47- test = [" pytest-cov>=6.2.1" , " pytest>=8.4.1" , " kappe[plugin_image]" ]
48-
4949[build-system ]
5050requires = [" hatchling" ]
5151build-backend = " hatchling.build"
@@ -82,13 +82,11 @@ ignore = [
8282 # formater
8383 ' COM812' , # missing-trailing-comma
8484 ' ISC001' , # single-line-implicit-string-concatenation
85-
86- ' UP038' , # Deprecated rule
8785]
8886
8987[tool .ruff .lint .per-file-ignores ]
9088# Relaxed lints for test files
91- "test/**/*.py" = [" T201" , " SLF001" , " ANN201" ]
89+ "test/**/*.py" = [" T201" , " SLF001" , " ANN201" , " PLC0415 " ]
9290
9391[tool .ruff .lint .flake8-quotes ]
9492inline-quotes = ' single'
0 commit comments