-
 

autoware_lint_common package from autoware_cmake repo

autoware_cmake autoware_lint_common

Package Summary

Tags No category tags.
Version 1.0.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_cmake.git
VCS Type git
VCS Version main
Last Updated 2024-07-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The list of commonly used linters in Autoware

Additional Links

No additional links.

Maintainers

  • Ryohsuke Mitsudome
  • Esteve Fernandez

Authors

No additional authors.

autoware_lint_common

A custom version of ament_lint_common for Autoware.

Usage

Add dependencies of ament_lint_auto and autoware_lint_common to your package as below.

package.xml:

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>

CMakeLists.txt:

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  ament_lint_auto_find_test_dependencies()
endif()

For ROS 2 messages and services, you need to remove the ADD_LINTER_TESTS argument in the rosidl_generate_interfaces() function in the CMakelists.txt file.

Then, the following linters will run during colcon test.

Design

The original ament_lint_common contains other formatters/linters like ament_cmake_uncrustify, ament_cmake_cpplint and ament_cmake_flake8. However, we don’t include them because it’s more useful to run them with pre-commit as MoveIt does.

For example, the benefits are:

  • We can use any version of tools independent of ament’s version.
  • We can easily integrate into IDE.
  • We can easily check all the files in the repository without writing test_depend in each package.
  • We can run formatters/linters without building, which makes error detection faster.

Ideally, we think other linters should be moved to pre-commit as well, so we’ll try to support them in the future.

CHANGELOG

Changelog for package autoware_lint_common

1.0.0 (2024-05-02)

  • Merge pull request #1 from youtalk/import-from-autoware-common feat: import from autoware_common
  • Merge branch 'autoware-lint-common' into import-from-autoware-common
  • move to autoware_lint_common
  • Contributors: Yutaka Kondo

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_lint_common at Robotics Stack Exchange

No version for distro iron. Known supported distros are highlighted in the buttons above.

autoware_lint_common package from autoware_cmake repo

autoware_cmake autoware_lint_common

Package Summary

Tags No category tags.
Version 1.0.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_cmake.git
VCS Type git
VCS Version main
Last Updated 2024-07-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The list of commonly used linters in Autoware

Additional Links

No additional links.

Maintainers

  • Ryohsuke Mitsudome
  • Esteve Fernandez

Authors

No additional authors.

autoware_lint_common

A custom version of ament_lint_common for Autoware.

Usage

Add dependencies of ament_lint_auto and autoware_lint_common to your package as below.

package.xml:

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>

CMakeLists.txt:

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  ament_lint_auto_find_test_dependencies()
endif()

For ROS 2 messages and services, you need to remove the ADD_LINTER_TESTS argument in the rosidl_generate_interfaces() function in the CMakelists.txt file.

Then, the following linters will run during colcon test.

Design

The original ament_lint_common contains other formatters/linters like ament_cmake_uncrustify, ament_cmake_cpplint and ament_cmake_flake8. However, we don’t include them because it’s more useful to run them with pre-commit as MoveIt does.

For example, the benefits are:

  • We can use any version of tools independent of ament’s version.
  • We can easily integrate into IDE.
  • We can easily check all the files in the repository without writing test_depend in each package.
  • We can run formatters/linters without building, which makes error detection faster.

Ideally, we think other linters should be moved to pre-commit as well, so we’ll try to support them in the future.

CHANGELOG

Changelog for package autoware_lint_common

1.0.0 (2024-05-02)

  • Merge pull request #1 from youtalk/import-from-autoware-common feat: import from autoware_common
  • Merge branch 'autoware-lint-common' into import-from-autoware-common
  • move to autoware_lint_common
  • Contributors: Yutaka Kondo

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_lint_common at Robotics Stack Exchange

autoware_lint_common package from autoware_cmake repo

autoware_cmake autoware_lint_common

Package Summary

Tags No category tags.
Version 1.0.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/autowarefoundation/autoware_cmake.git
VCS Type git
VCS Version main
Last Updated 2024-07-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The list of commonly used linters in Autoware

Additional Links

No additional links.

Maintainers

  • Ryohsuke Mitsudome
  • Esteve Fernandez

Authors

No additional authors.

autoware_lint_common

A custom version of ament_lint_common for Autoware.

Usage

Add dependencies of ament_lint_auto and autoware_lint_common to your package as below.

package.xml:

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>

CMakeLists.txt:

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  ament_lint_auto_find_test_dependencies()
endif()

For ROS 2 messages and services, you need to remove the ADD_LINTER_TESTS argument in the rosidl_generate_interfaces() function in the CMakelists.txt file.

Then, the following linters will run during colcon test.

Design

The original ament_lint_common contains other formatters/linters like ament_cmake_uncrustify, ament_cmake_cpplint and ament_cmake_flake8. However, we don’t include them because it’s more useful to run them with pre-commit as MoveIt does.

For example, the benefits are:

  • We can use any version of tools independent of ament’s version.
  • We can easily integrate into IDE.
  • We can easily check all the files in the repository without writing test_depend in each package.
  • We can run formatters/linters without building, which makes error detection faster.

Ideally, we think other linters should be moved to pre-commit as well, so we’ll try to support them in the future.

CHANGELOG

Changelog for package autoware_lint_common

1.0.0 (2024-05-02)

  • Merge pull request #1 from youtalk/import-from-autoware-common feat: import from autoware_common
  • Merge branch 'autoware-lint-common' into import-from-autoware-common
  • move to autoware_lint_common
  • Contributors: Yutaka Kondo

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_lint_common at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.