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.

## Installation

To use this extension, please execute the following:

`bash sudo apt install apt-rdepends pip install colcon-lint `

## 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.

### Options

Option | Description |
— | — |
package specification options | The same as other colcon commands. |
logging options | The same as other colcon commands. |
–quick | This option only checks for directly declared dependencies in the package.xml. It cannot detect dependencies that are resolved through recursively declared packages. |

## Tips

To run faster, you can build with the -Wno-dev –trace-expand –trace-redirect=trace.log cmake option.

`bash colcon build --cmake-args -Wno-dev --trace-expand --trace-redirect=trace.log `

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.3.1.tar.gz (11.4 kB view details)

Uploaded Source

File details

Details for the file colcon-lint-0.3.1.tar.gz.

File metadata

  • Download URL: colcon-lint-0.3.1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for colcon-lint-0.3.1.tar.gz
Algorithm Hash digest
SHA256 cb57332148dbce03206b400cd09ef09749ef73718b043a25c0dce14d7ebe4707
MD5 027b14b369b299722f9b2774cd2e5934
BLAKE2b-256 6cb72013c7f1118bbd6e3e584f644f6101742fa61652faecab3a2ec37857b7e8

See more details on using hashes here.

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