Add type annotations

This commit is contained in:
Dominik Jain committed 2025-07-27 13:26:42 +02:00
1 parent f64768e99c
commit f55eb0c9b4
1 file changed
+2 -2
+2 -2
View File
@@ -47,13 +47,13 @@ class SerenaPaths:
Provides paths to various Serena-related directories and files.
"""
def __init__(self):
def __init__(self) -> None:
self.user_config_dir: str = SERENA_MANAGED_DIR_IN_HOME
"""
the path to the user's Serena configuration directory, which is typically ~/.serena
"""
def get_next_log_file_path(self, prefix: str):
def get_next_log_file_path(self, prefix: str) -> str:
"""
:param prefix: the filename prefix indicating the type of the log file
:return: the full path to the log file to use