File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1616"""
1717
1818# isort: STDLIB
19- from argparse import SUPPRESS
19+ from argparse import SUPPRESS , ArgumentParser , Namespace
20+ from typing import Optional , Tuple
21+
22+ # isort: THIRDPARTY
23+ from justbytes import Range
2024
2125from .._actions import LogicalActions
2226from ._debug import FILESYSTEM_DEBUG_SUBCMDS
2327from ._shared import UUID_OR_NAME , RejectAction , parse_range
2428
2529
26- def parse_range_or_current (values ) :
30+ def parse_range_or_current (values : str ) -> Tuple [ Optional [ Range ], str ] :
2731 """
2832 Allow specifying a Range or the value "current". Include the original
2933 value specified by the user as well as the Range result if the user
@@ -39,10 +43,10 @@ class FilesystemListOptions: # pylint: disable=too-few-public-methods
3943 Verifies filesystem list options.
4044 """
4145
42- def __init__ (self , _namespace ):
46+ def __init__ (self , _namespace : Namespace ):
4347 pass
4448
45- def verify (self , namespace , parser ):
49+ def verify (self , namespace : Namespace , parser : ArgumentParser ):
4650 """
4751 Do supplementary parsing of conditional arguments.
4852 """
You can’t perform that action at this time.
0 commit comments