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.1.tar.gz
(968.6 kB
view details)
Built Distribution
ros_glint-0.2.1-py3-none-any.whl
(39.0 kB
view details)
File details
Details for the file ros_glint-0.2.1.tar.gz
.
File metadata
- Download URL: ros_glint-0.2.1.tar.gz
- Upload date:
- Size: 968.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afce60e13f4e46fbd4e20f423d77a45e4cfe80d3904ea8a77c60ae3800afae47 |
|
MD5 | 06e7d2a5fbd18bc89834f53f26b70519 |
|
BLAKE2b-256 | 42537749be3e34e883885a068ba1759c803087845a76a4f48aad8bb587ec1bd9 |
File details
Details for the file ros_glint-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: ros_glint-0.2.1-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 838a913bfb169c2d5672c1cc1d9f48295911252e4e481fdc02cb09d8c6a8696e |
|
MD5 | a73a679440984fd52bbc3e1fc34e3cd6 |
|
BLAKE2b-256 | 2cd4f8149dfeb976d4ff7d7da021551f7dc22cec32f7d5c2901528a904a5e91b |