mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 14:16:21 +00:00
Add type annotations
This commit is contained in:
1 parent
f64768e99c
commit
f55eb0c9b4
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user