We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76899cf commit f4afcc5Copy full SHA for f4afcc5
1 file changed
lamar/combine_results.py
@@ -6,10 +6,10 @@
6
from . import logger
7
8
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}"
+ """Assert that the txt path is valid."""
+ assert path.exists()
+ assert path.is_file()
+ assert path.suffix == ".txt"
13
14
15
if __name__ == '__main__':
0 commit comments