def pytest_addoption(parser):
    """
    Pytest hook - register command line arguments. We want to register the
    --func_cov argument to explicitly pass the location of the package to
    discover and the ignore_func_names ini setting.

    Args:
        parser:
    """
    group = parser.getgroup('func_cov')
    group.addoption('--func_cov', dest='func_cov_source', action='append',
        default=[], metavar='SOURCE', nargs='?', const=True)
    parser.addini('ignore_func_names', 'function names to ignore',
        'linelist', [])
