From 26d0b9a05d0290984338ee847b227fadc8946d07 Mon Sep 17 00:00:00 2001 From: Anton Utz Date: Wed, 20 Mar 2024 12:22:23 +0100 Subject: [PATCH] moved check files to own directory Signed-off-by: Anton Utz --- .../{ => license_checks}/license_file_referenced_check.py | 2 +- .../{ => license_checks}/license_in_code_check.py | 2 +- .../{ => license_checks}/license_text_exists_check.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/ros_license_toolkit/{ => license_checks}/license_file_referenced_check.py (97%) rename src/ros_license_toolkit/{ => license_checks}/license_in_code_check.py (98%) rename src/ros_license_toolkit/{ => license_checks}/license_text_exists_check.py (98%) diff --git a/src/ros_license_toolkit/license_file_referenced_check.py b/src/ros_license_toolkit/license_checks/license_file_referenced_check.py similarity index 97% rename from src/ros_license_toolkit/license_file_referenced_check.py rename to src/ros_license_toolkit/license_checks/license_file_referenced_check.py index 450876e..e3311ea 100644 --- a/src/ros_license_toolkit/license_file_referenced_check.py +++ b/src/ros_license_toolkit/license_checks/license_file_referenced_check.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Check for all License files are referenced by a tag in package.xml""" +"""This Module contains LicenseFilesReferencedCheck, which implements Check""" import os from typing import Dict, List diff --git a/src/ros_license_toolkit/license_in_code_check.py b/src/ros_license_toolkit/license_checks/license_in_code_check.py similarity index 98% rename from src/ros_license_toolkit/license_in_code_check.py rename to src/ros_license_toolkit/license_checks/license_in_code_check.py index d70d604..ca62148 100644 --- a/src/ros_license_toolkit/license_in_code_check.py +++ b/src/ros_license_toolkit/license_checks/license_in_code_check.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Checks if all Licenses found in files have a declaration in package.xml""" +"""This Module contains LicensesInCodeCheck, which implements Check""" from pprint import pformat from typing import Dict, List diff --git a/src/ros_license_toolkit/license_text_exists_check.py b/src/ros_license_toolkit/license_checks/license_text_exists_check.py similarity index 98% rename from src/ros_license_toolkit/license_text_exists_check.py rename to src/ros_license_toolkit/license_checks/license_text_exists_check.py index ed06328..b4e193a 100644 --- a/src/ros_license_toolkit/license_text_exists_check.py +++ b/src/ros_license_toolkit/license_checks/license_text_exists_check.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Checks if every tag has the referenced License text file.""" +"""This Module contains LicenseTextExistsCheck, which implements Check.""" import os from typing import Any, Dict, Optional