X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=argparse_utils.py;h=e8c2f5699bea4bceb67d22127a923099d0d143e5;hb=ed8fa2b10b0177b15b7423263bdd390efde2f0c8;hp=530690c0c70161bcd58d65389c724593f20003a2;hpb=4a65828d3cabb98cd26b78f32255778fb01fb8fc;p=python_utils.git 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