(csv_file_path)
| 65 | exit(1) |
| 66 | |
| 67 | def check_nnl(csv_file_path): |
| 68 | with open(csv_file_path, mode='r', encoding='utf-8') as file: |
| 69 | for i, line in enumerate(file, start=1): |
| 70 | assert line.endswith('\n'), f"Line {i} does not end with a newline" |
| 71 | |
| 72 | def main(csv_file_path): |
| 73 | check_csv(csv_file_path) |