-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
143 lines (121 loc) · 2.78 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = ["setuptools>=68", "setuptools-scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "rosbags-image"
authors = [
{ name = "Ternaris", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
description = "Pure Python library to convert ros image message data from and to opencv2."
dependencies = [
"numpy",
"opencv-python-headless",
"rosbags >= 0.9.20",
]
dynamic = ["version"]
keywords = [
"conversion",
"cv_bridge",
"image",
"compressedimage",
"message",
"msg",
"opencv",
"ros",
"ros2",
"rosbag",
"rosbag1",
"rosbag2",
"rosbags",
]
license = { text = "Apache-2.0" }
readme = "README.rst"
requires-python = ">=3.10"
[project.optional-dependencies]
[project.urls]
Homepage = "https://gitlab.com/ternaris/rosbags-image"
Documentation = "https://ternaris.gitlab.io/rosbags-image"
Source = "https://gitlab.com/ternaris/rosbags-image"
Issues = "https://gitlab.com/ternaris/rosbags-image/issues"
Changelog = "https://gitlab.com/ternaris/rosbags-image/-/blob/master/CHANGES.rst"
[dependency-groups]
dev = [
"mypy",
"pytest",
"pytest-cov",
"reuse",
"ruff",
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
]
[tool.coverage]
report.exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ == '__main__':",
"@overload",
]
report.show_missing = true
report.skip_covered = true
run.branch = true
run.source = ["src"]
[tool.mypy]
disallow_any_explicit = true
explicit_package_bases = true
mypy_path = "src"
strict = true
[tool.pytest.ini_options]
addopts = ["--verbose"]
[tool.ruff]
line-length = 100
namespace-packages = ["docs", "docs/examples", "tools/bench", "tools/compare"]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [
"ALL",
"D204",
"D400",
"D401",
"D404",
"D413",
]
ignore = [
"C901",
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
# allow asserts
"S101",
# trailing comma
"COM812",
# single line string concat
"ISC001",
]
[tool.ruff.lint.isort]
combine-as-imports = true
force-wrap-aliases = true
[tool.ruff.lint.flake8-copyright]
notice-rgx = "(?i)# (C)opyright 2020 - 2025 Ternaris\n# (S)PDX-License-Identifier: Apache-2.0"
[tool.ruff.lint.flake8-quotes]
avoid-escape = false
inline-quotes = "single"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.setuptools_scm]
version_scheme = "only-version"
local_scheme = "no-local-version"