make flake happy
This commit is contained in:
parent
3c0f00c12f
commit
f401b775d2
@ -489,7 +489,6 @@ class Arguments(object):
|
|||||||
list_pairs_cmd.set_defaults(func=partial(start_list_pairs, pairs_only=True))
|
list_pairs_cmd.set_defaults(func=partial(start_list_pairs, pairs_only=True))
|
||||||
self.build_args(optionlist=ARGS_LIST_PAIRS, parser=list_pairs_cmd)
|
self.build_args(optionlist=ARGS_LIST_PAIRS, parser=list_pairs_cmd)
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def parse_timerange(text: Optional[str]) -> TimeRange:
|
def parse_timerange(text: Optional[str]) -> TimeRange:
|
||||||
"""
|
"""
|
||||||
|
@ -134,5 +134,6 @@ def deep_merge_dicts(source, destination):
|
|||||||
|
|
||||||
return destination
|
return destination
|
||||||
|
|
||||||
|
|
||||||
def plural(num, singular: str, plural: str = None) -> str:
|
def plural(num, singular: str, plural: str = None) -> str:
|
||||||
return singular if (num == 1 or num == -1) else plural or singular + 's'
|
return singular if (num == 1 or num == -1) else plural or singular + 's'
|
||||||
|
Loading…
Reference in New Issue
Block a user