# exit with error code if uncovered Dockerfiles exist
ifuncovered:
LOGGER.error("The following Dockerfiles are not described in the parsefiles_config.yml file: {}. Please see the following documentation on how to add Dockerfile ranks to the configuration file: {}".format(uncovered,"https://github.com/edx/configuration/blob/master/util/README.md"))
sys.exit(1)
defarg_parse():
parser=argparse.ArgumentParser(description='Given a list of containers as input and a number of shards, '
'finds an approximation of the optimal distribution of the containers over the shards, provided a set of hard-coded weights '
'in parsefiles_config.yml.')
parser.add_argument('containers',help="the Dockerfiles that need to be built as the result of some commit change and whose coverage is checked")