-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
146 lines (125 loc) · 2.75 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
144
145
146
[build-system]
requires = ["setuptools>=68", "setuptools-scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "rosbags"
authors = [
{ name = "Ternaris", email = "team@ternaris.com" },
]
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",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
description = "Pure Python library to read, modify, convert, and write rosbag files."
dependencies = [
"lz4",
"numpy",
"ruamel.yaml",
"typing_extensions >= 4.5",
"zstandard",
]
dynamic = ["version"]
keywords = [
"cdr",
"conversion",
"deserialization",
"idl",
"mcap",
"message",
"msg",
"reader",
"ros",
"ros2",
"rosbag",
"rosbag2",
"serialization",
"writer",
]
license = { text = "Apache-2.0" }
readme = "README.rst"
requires-python = ">=3.10"
[project.optional-dependencies]
dev = [
"declinate",
"mypy",
"pytest",
"pytest-cov",
"reuse",
"ruff",
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
]
[project.scripts]
rosbags-convert = "rosbags.convert.cli:main"
[project.urls]
Homepage = "https://gitlab.com/ternaris/rosbags"
Documentation = "https://ternaris.gitlab.io/rosbags"
Source = "https://gitlab.com/ternaris/rosbags"
Issues = "https://gitlab.com/ternaris/rosbags/issues"
Changelog = "https://gitlab.com/ternaris/rosbags/-/blob/master/CHANGES.rst"
[tool.coverage]
report.exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ == '__main__':",
]
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 = [
"ANN101",
"C901",
"PLR0911",
"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
known-first-party = ["rosbags"]
[tool.ruff.lint.flake8-copyright]
notice-rgx = "(?i)# (C)opyright 2020 - 2024 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]