Pure Python library for linting ROS packages
Project description
Make your ROS code sparkle!
ROS Glint is a linter for ROS 1 and ROS 2 packages. It is a pure Python version of the ROS 1 package roscompile.
Installation
sudo pip3 install ros-glint
Running from the Command Line
Installing the Python package installs the glint_ros
command. (Note: There's 5 million commands that start with ros
. [citation needed] The command is glint_ros
for ease of access/tab completion)
The command will find all ROS packages in a the current directory and attempt to run the "glinters" on them all.
usage: glint_ros [-h] [-f FOLDER] [-y] [-s] [linter ...]
positional arguments:
linter By default, run all linters. If any are specified here, only those
specified are run.
options:
-h, --help show this help message and exit
-f FOLDER, --folder FOLDER
The folder to search for ROS packages in. Defaults to the current
directory.
-y, --yes-to-all Non-interactive mode that accepts all suggestions.
-s, --skip-ros-load Avoid loading ROS resources, useful in scripting environments.
Acknowledgements
- ROS Glint logo by https://glowtxt.com/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ros_glint-0.2.0.tar.gz
(968.6 kB
view hashes)
Built Distribution
ros_glint-0.2.0-py3-none-any.whl
(39.0 kB
view hashes)
Close
Hashes for ros_glint-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5056b2e7c9906b1bad453a8a98fd47f7541c366e2859711304e2904c2d641c1 |
|
MD5 | 7a80945818017af4b27a94acad1abe84 |
|
BLAKE2b-256 | db3428ba02690743a1e86aab0a0074ef64c3806107b8aa8109b0ec68765ae314 |