From 0b1cd8ef03454db15375f771d45083c78c2fbdf3 Mon Sep 17 00:00:00 2001 From: Leonie von Mann Date: Sat, 21 Dec 2024 16:28:15 +0100 Subject: [PATCH] Fix return type annotation --- varats/varats/experiments/vara/blame_server_experiment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varats/varats/experiments/vara/blame_server_experiment.py b/varats/varats/experiments/vara/blame_server_experiment.py index c6f2d6d95..2c80eaafb 100644 --- a/varats/varats/experiments/vara/blame_server_experiment.py +++ b/varats/varats/experiments/vara/blame_server_experiment.py @@ -26,7 +26,7 @@ class BlameServerSteps(actions.Compile): # type: ignore - """"Start blame server before and kill server after compilation.""" + """Start blame server before and kill server after compilation.""" NAME = "BlameServerSteps" DESCRIPTION = "Start server before and kill server after compilation." @@ -47,7 +47,7 @@ def __call__(self) -> actions.StepResult: return steps @staticmethod - def find_open_port() -> int: + def find_open_port() -> tp.Any: """Finds and returns an available port on the local machine.""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind(('', 0)) # Bind to a free port provided by the OS