Skip to content

Commit f4afcc5

Browse files
committed
Fix.
1 parent 76899cf commit f4afcc5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lamar/combine_results.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from . import logger
77

88
def assert_valid_txt_path(path: Path):
9-
"""Assert that the path is valid."""
10-
assert path.exists(), f"Path does not exist: {path}"
11-
assert path.is_file(), f"Path is not a file: {path}"
12-
assert path.suffix == ".txt", f"Expected .txt file, got {path.suffix}"
9+
"""Assert that the txt path is valid."""
10+
assert path.exists()
11+
assert path.is_file()
12+
assert path.suffix == ".txt"
1313

1414

1515
if __name__ == '__main__':

0 commit comments

Comments
 (0)