greenhouse/setup.cfg

209 lines
4.0 KiB
INI
Raw Normal View History

2021-05-02 14:43:01 +02:00
[metadata]
name = rosbags
2021-11-25 14:41:31 +01:00
version = 0.9.8
2021-05-02 14:43:01 +02:00
author = Ternaris
author_email = team@ternaris.com
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
2021-11-25 14:26:17 +01:00
Programming Language :: Python :: 3.10
2021-05-02 14:43:01 +02:00
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
2021-05-02 14:51:08 +02:00
[options.entry_points]
console_scripts =
rosbags-convert = rosbags.convert.__main__:main
2021-05-02 14:43:01 +02:00
[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
2021-10-21 12:06:55 +02:00
pytest-yapf3
2021-05-02 14:43:01 +02:00
sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
2021-10-21 12:06:55 +02:00
yapf
2021-05-02 14:43:01 +02:00
[options.packages.find]
where = src
2021-11-08 18:48:19 +01:00
[options.package_data]
* = py.typed
2021-05-02 14:43:01 +02:00
[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
2021-10-21 18:15:43 +02:00
extend-exclude = venv*,.venv*
2021-11-25 14:26:17 +01:00
extend-select =
2021-05-02 14:43:01 +02:00
# docstrings
D204,
D400,
D401,
D404,
D413,
ignore =
# do not require annotation of `self`
ANN101,
2021-11-25 14:26:17 +01:00
# handled by B001
E722,
# allow line break after binary operator
W504,
2021-05-02 14:43:01 +02:00
max-line-length = 100
strictness = long
suppress-none-returning = True
[isort]
include_trailing_comma = True
line_length = 100
multi_line_output = 3
[mypy]
2021-10-21 12:03:51 +02:00
explicit_package_bases = True
mypy_path = $MYPY_CONFIG_FILE_DIR/src
namespace_packages = True
2021-11-25 14:26:17 +01:00
strict = True
2021-10-21 12:03:51 +02:00
2021-11-25 14:26:17 +01:00
[mypy-lz4.frame]
2021-05-02 14:43:01 +02:00
ignore_missing_imports = True
2021-11-25 14:26:17 +01:00
[mypy-ruamel.yaml]
implicit_reexport = True
2021-05-02 14:43:01 +02:00
[pydocstyle]
convention = google
add-select = D204,D400,D401,D404,D413
[pylint.FORMAT]
max-line-length = 100
[pylint.'MESSAGES CONTROL']
2021-11-25 14:26:17 +01:00
enable = all
2021-05-02 14:43:01 +02:00
disable =
duplicate-code,
ungrouped-imports,
2021-11-25 14:26:17 +01:00
# 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,
2021-05-02 14:43:01 +02:00
[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 =
2021-11-25 14:26:17 +01:00
-v
--flake8
--mypy
--pylint
--yapf
--cov=src
--cov-branch
--cov-report=html
--cov-report=term
--no-cov-on-fail
--junitxml=report.xml
2021-05-02 14:43:01 +02:00
junit_family=xunit2