Path 1: 29878 calls (1.0)

' ' (29859) "' '" (19)

' ' (29878)

1def _non_empty_string_transformer(value: str) -> str:
2    """Check that a string is not empty and remove quotes."""
3    if not value:
4        raise argparse.ArgumentTypeError("Option cannot be an empty string.")
5    return pylint_utils._unquote(value)
            

Path 2: 1 calls (0.0)

'' (1)

ArgumentTypeError (1)

1def _non_empty_string_transformer(value: str) -> str:
2    """Check that a string is not empty and remove quotes."""
3    if not value:
4        raise argparse.ArgumentTypeError("Option cannot be an empty string.")
5    return pylint_utils._unquote(value)