-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
211 lines (194 loc) · 4.11 KB
/
setup.cfg
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
[metadata]
name = rosbags
version = 0.9.11
author = Ternaris
author_email = [email protected]
home_page = https://gitlab.com/ternaris/rosbags
description = Pure Python library to read, modify, convert, and write rosbag files.
long_description = file: README.rst
long_description_content_type = text/x-rst
keywords =
cdr
conversion
deserialization
idl
message
msg
reader
ros
rosbag
rosbag2
serialization
writer
license = Apache 2.0
license_files = LICENSE.txt
platform = any
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering
Typing :: Typed
project_urls =
Code = https://gitlab.com/ternaris/rosbags
Documentation = https://ternaris.gitlab.io/rosbags
Issue tracker = https://gitlab.com/ternaris/rosbags/issues
[options]
include_package_data = true
package_dir =
= src
packages = find_namespace:
zip_safe = false
python_requires =
>=3.8.2
setup_requires =
setuptools >=40.8.0
wheel
install_requires =
lz4
numpy
ruamel.yaml
zstandard
[options.entry_points]
console_scripts =
rosbags-convert = rosbags.convert.__main__:main
[options.extras_require]
dev =
darglint
flake8
flake8-annotations
flake8-bugbear
flake8-commas
flake8-comprehensions
flake8-docstrings
flake8-fixme
flake8-isort
flake8-mutable
flake8-print
flake8-pytest-style
flake8-quotes
flake8-return
flake8-simplify
flake8-type-checking
flake8-use-fstring
pep8-naming
pytest
pytest-cov
pytest-flake8
pytest-mypy
pytest-pylint
pytest-yapf3
sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
yapf
[options.packages.find]
where = src
[options.package_data]
* = py.typed
[sdist]
formats = gztar, zip
[coverage:report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
if __name__ == '__main__':
[flake8]
avoid-escape = False
docstring_convention = google
docstring_style = google
extend-exclude = venv*,.venv*
extend-select =
# docstrings
D204,
D400,
D401,
D404,
D413,
ignore =
# do not require annotation of `self`
ANN101,
# handled by B001
E722,
# allow line break after binary operator
W504,
max-line-length = 100
strictness = long
suppress-none-returning = True
[isort]
include_trailing_comma = True
line_length = 100
multi_line_output = 3
[mypy]
explicit_package_bases = True
mypy_path = $MYPY_CONFIG_FILE_DIR/src
namespace_packages = True
strict = True
[mypy-lz4.frame]
ignore_missing_imports = True
[mypy-ruamel.yaml]
implicit_reexport = True
[pydocstyle]
convention = google
add-select = D204,D400,D401,D404,D413
[pylint.FORMAT]
max-line-length = 100
[pylint.'MESSAGES CONTROL']
enable = all
disable =
duplicate-code,
locally-disabled,
suppressed-message,
ungrouped-imports,
# isort (pylint FAQ)
wrong-import-order,
# mccabe (pylint FAQ)
too-many-branches,
# fixme
fixme,
# pep8-naming (pylint FAQ, keep: invalid-name)
bad-classmethod-argument,
bad-mcs-classmethod-argument,
no-self-argument,
# pycodestyle (pylint FAQ)
bad-indentation,
bare-except,
line-too-long,
missing-final-newline,
multiple-statements,
trailing-whitespace,
unnecessary-semicolon,
unneeded-not,
# pydocstyle (pylint FAQ)
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
# pyflakes (pylint FAQ)
undefined-variable,
unused-import,
unused-variable,
[yapf]
based_on_style = google
column_limit = 100
allow_split_before_dict_value = false
dedent_closing_brackets = true
indent_dictionary_value = false
[tool:pytest]
addopts =
-v
--flake8
--mypy
--pylint
--yapf
--cov=src
--cov-branch
--cov-report=html
--cov-report=term
--cov-report=xml
--no-cov-on-fail
--junitxml=report.xml
junit_family=xunit2