summaryrefslogtreecommitdiff
path: root/argparse_utils.py
diff options
context:
space:
mode:
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