663f0d92创建于 2022年11月29日历史提交

roslint

Description

CMake lint commands for ROS packages. The lint commands perform static checking of Python or C++ source code for errors and standards compliance.

Software Architecture

Software architecture description

Each roslint_* function create a roslint build target called roslint_''pkgname'', which runs all specified lint operations for the package. Each additionally creates (if it does not yet exist) a master roslint target, which depends on all other roslint_* targets.

input:

roslint/
├── CHANGELOG.rst
├── cmake
│   └── roslint-extras.cmake.em
├── CMakeLists.txt
├── package.xml
├── README.md
├── scripts
│   └── test_wrapper
├── setup.py
├── src
│   └── roslint
└── tests
    ├── clean1.py
    ├── CMakeLists.txt
    ├── dirty1.py
    └── runlint.py

Installation

  1. Download RPM

aarch64:

wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/standard_aarch64/aarch64/ros-noetic-ros-roslint/ros-noetic-ros-roslint-0.12.0-1.oe2203.aarch64.rpm

x86_64:

wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/standard_x86_64/x86_64/ros-noetic-ros-roslint/ros-noetic-ros-roslint-0.12.0-1.oe2203.x86_64.rpm

  1. Install RPM

aarch64:

sudo rpm -ivh ros-noetic-ros-roslint-0.12.0-1.oe2203.aarch64.rpm --nodeps --force

x86_64:

sudo rpm -ivh ros-noetic-ros-roslint-0.12.0-1.oe2203.x86_64.rpm --nodeps --force

Instructions

Dependence installation

sh /opt/ros/noetic/install_dependence.sh

Exit the following output file under the /opt/ros/noetic/ directory , Prove that the software installation is successful

roslint/
├── cmake.lock
├── env.sh
├── lib
│   ├── pkgconfig
│   └── python2.7
├── local_setup.bash
├── local_setup.sh
├── local_setup.zsh
├── setup.bash
├── setup.sh
├── _setup_util.py
├── setup.zsh
└── share
    └── roslint

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/