Skip to main content

Colcon extension for linting ROS package dependencies

Project description

# colcon-lint

Colcon extension for linting ROS package dependencies.

This package is an extension of [colcon-core](https://github.com/colcon/colcon-core). Similar to [catkin-lint](https://github.com/fkie/catkin_lint) in ROS, it checks whether the dependencies of ROS2 packages are correctly described in the package.xml.

Currently, the extension checks the exec_depend section and verifies the launch files and Python scripts’ imports. The verification of build_depend is not yet implemented. However, it is recommended to use [ament_cmake_auto](https://github.com/ament/ament_cmake/tree/rolling/ament_cmake_auto) to verify that there are no build errors.

## Installation

To use this extension, please execute the following:

`bash git clone https://github.com/Tacha-S/colcon-lint.git cd colcon-lint sudo pip install . `

## How to use

Please execute as follows. The package specification option is the same as other colcon commands.

`bash colcon lint --packages-select <package-name> `

Replace <package-name> with the name of the package you want to check.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colcon-lint-0.2.1.tar.gz (10.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page