Skip to main content

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

Metadata

Release files for colcon-lint 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for colcon-lint 0.3.1
File Size Uploaded
colcon-lint-0.3.1.tar.gz 11.4 kB Details

Release files / colcon-lint-0.3.1.tar.gz

Download URL colcon-lint-0.3.1.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cb57332148dbce03206b400cd09ef09749ef73718b043a25c0dce14d7ebe4707
BLAKE2b-256 checksum
How to use checksums
6cb72013c7f1118bbd6e3e584f644f6101742fa61652faecab3a2ec37857b7e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page