Path 1: 30 calls (1.0)

[] (30)

FileNotFoundError (30)

1def get_default_options() -> list[str]:
2    """Read config file and return list of options."""
3    options = []
4    home = os.environ.get("HOME", "")
5    if home:
6        rcfile = os.path.join(home, RCFILE)
7        try:
8            with open(rcfile, encoding="utf-8") as file_handle:
9                options = file_handle.read().split()
10        except OSError:
11            pass  # ignore if no config file found
12    return options