From d469bda5a60a09c346dfb58b7a622d2568997ae3 Mon Sep 17 00:00:00 2001 From: kscottz Date: Thu, 19 Dec 2024 11:56:01 -0800 Subject: [PATCH] Add copyright example --- source/Tutorials/Advanced/Ament-Lint-For-Clean-Code.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Tutorials/Advanced/Ament-Lint-For-Clean-Code.rst b/source/Tutorials/Advanced/Ament-Lint-For-Clean-Code.rst index c04cf618cf..14b619f960 100644 --- a/source/Tutorials/Advanced/Ament-Lint-For-Clean-Code.rst +++ b/source/Tutorials/Advanced/Ament-Lint-For-Clean-Code.rst @@ -81,8 +81,11 @@ Using the ``--verbose`` option will list all checked files. .. code-block:: console ament_copyright --verbose + my_package/src/new_file.cpp: could not find copyright notice + my_package/src/old_file.cpp: copyright=Open Source Robotics Foundation, Inc. (2023), license=apache2 + my_package/include/new_file.h: could not find copyright notice + my_package/include/old_file.h: copyright=Open Source Robotics Foundation, Inc. (2023), license=apache2 -If you happen to find an issue with one of your files you can address it by calling the following command. 2 ``ament_cppcheck`` ^^^^^^^^^^^^^^^^^^^^