def setup_logging(args: argparse.Namespace) -> None:
    level = (logging.DEBUG if (args.verbose >= 2) else (logging.INFO if (args.verbose >= 1) else logging.WARNING))
    logging.basicConfig(level=level)
def setup_logging(args: argparse.Namespace) -> None:
    level = (logging.DEBUG if (args.verbose >= 2) else (logging.INFO if (args.verbose >= 1) else logging.WARNING))
    logging.basicConfig(level=level)