summaryrefslogtreecommitdiff
path: root/argparse_utils.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-10-31 13:08:51 -0700
committerScott Gasch <[email protected]>2021-10-31 13:08:51 -0700
commiteb9e6df32ed696158bf34dba6464277b648f5c74 (patch)
tree54ae278562008b0ffa834b2d34b2158d9119dc65 /argparse_utils.py
parent05a26ae305adfc47f38b8534ec8f35640df3955e (diff)
Ugh, a bunch of things. @overrides. --lmodule. Chromecasts. etc...
Diffstat (limited to 'argparse_utils.py')
-rw-r--r--argparse_utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/argparse_utils.py b/argparse_utils.py
index 530690c..e8c2f56 100644
--- a/argparse_utils.py
+++ b/argparse_utils.py
@@ -6,6 +6,9 @@ import logging
import os
from typing import Any
+from overrides import overrides
+
+
# This module is commonly used by others in here and should avoid
# taking any unnecessary dependencies back on them.
@@ -47,6 +50,7 @@ class ActionNoYes(argparse.Action):
help=help
)
+ @overrides
def __call__(self, parser, namespace, values, option_strings=None):
if (
option_strings.startswith('--no-') or