Add return typehints to magic methods

This commit is contained in:
Julian Stirling 2025-08-27 14:04:25 +01:00
parent 4c46330959
commit 2ce49088e7
17 changed files with 41 additions and 34 deletions

View file

@ -167,7 +167,7 @@ class ScanDirectoryManager:
_base_scan_dir: str
def __init__(self, base_scan_dir: str):
def __init__(self, base_scan_dir: str) -> None:
"""Initialise the scan directory manager.
:param base_scan_dir: Path of the directory that holds all scans.
@ -374,7 +374,7 @@ class ScanDirectory:
_name: str
_base_scan_dir: str
def __init__(self, name: str, base_scan_dir: str):
def __init__(self, name: str, base_scan_dir: str) -> None:
"""Initialise the scan directory.
:param name: the name of the scan (the scan directory basename).