Add return typehints to magic methods
This commit is contained in:
parent
4c46330959
commit
2ce49088e7
17 changed files with 41 additions and 34 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue