initialize_and_read_exclude_file Source code in library_analyzer/utils/_files.py 34 35 36 37 38 39 40def initialize_and_read_exclude_file(exclude_file: Path) -> list[str]: exclude_file.parent.mkdir(parents=True, exist_ok=True) try: with exclude_file.open("r") as f: return __read_lines(f) except FileNotFoundError: return []