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