This project provides a framework for quality assurance of ROS applications.
The src directory contains all Python packages and modules. Tests are placed under the tests directory, and documentation under the docs directory.
This package sets up various tox environments for static checks, testing, building and publishing.
It is also configured with pre-commit hooks to perform static checks and automatic formatting.
If you do not use tox, you can build the package with build and install a development version with pip.
Assume cd into the repository's root.
To install the pre-commit hooks:
pre-commit installTo run type checking:
tox -e typecheckTo run linting tools:
tox -e lintTo run automatic formatting:
tox -e formatTo run tests:
toxTo build the package:
tox -e buildTo build the package (with build):
python -m buildTo clean the previous build files:
tox -e cleanTo test package publication (publish to Test PyPI):
tox -e publishTo publish the package to PyPI:
tox -e publish -- --repository pypiTo install an editable version:
pip install -e .