From 787fa4f7b1282ff66564f918272958d0fa465304 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Thu, 9 Nov 2023 16:21:58 -0500 Subject: [PATCH] chore: removes todo comments (#78) Signed-off-by: Jennifer Power --- trestlebot/entrypoints/entrypoint_base.py | 2 -- trestlebot/transformers/base_transformer.py | 2 +- trestlebot/transformers/validations.py | 4 ---- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/trestlebot/entrypoints/entrypoint_base.py b/trestlebot/entrypoints/entrypoint_base.py index 24434997..58558f4b 100644 --- a/trestlebot/entrypoints/entrypoint_base.py +++ b/trestlebot/entrypoints/entrypoint_base.py @@ -39,8 +39,6 @@ logger = logging.getLogger(__name__) -# TODO: Consider adding support for a config file or environment variables to set these values - class EntrypointBase: """Base class for all entrypoints.""" diff --git a/trestlebot/transformers/base_transformer.py b/trestlebot/transformers/base_transformer.py index 6cf2de25..4e3dbc0d 100644 --- a/trestlebot/transformers/base_transformer.py +++ b/trestlebot/transformers/base_transformer.py @@ -16,7 +16,7 @@ """Base transformer for rules.""" -# TODO: Evaluate if this should be contributed back to trestle +# Evaluate if this should be contributed back to trestle from abc import abstractmethod from typing import Any diff --git a/trestlebot/transformers/validations.py b/trestlebot/transformers/validations.py index 96bf885d..c475a4a2 100644 --- a/trestlebot/transformers/validations.py +++ b/trestlebot/transformers/validations.py @@ -59,10 +59,6 @@ def handle(self, data: Any, result: ValidationOutcome) -> None: self.next_handler.handle(data, result) -# TODO(jpower432): Create a class for Profile validation to ensure unique -# entries exists in the workspace. - - def parameter_validation(data: Dict[str, Any], result: ValidationOutcome) -> None: """Parameter logic additions validation.""" rule_info: Dict[str, Any] = data.get(const.RULE_INFO_TAG, {})