We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652fc08 commit eaefd3aCopy full SHA for eaefd3a
.github/workflows/csv_linter.yml
@@ -40,11 +40,11 @@ jobs:
40
if headers != ["act", "prompt", "for_devs"]:
41
print("Error: CSV headers must be exactly [act, prompt, for_devs]")
42
exit(1)
43
- for row_num, row in enumerate(reader, 2):
44
- if len(row) != 2:
+ for row_num, row in enumerate(reader, 3):
+ if len(row) != 3:
45
print(f"Error: Row {row_num} has {len(row)} columns, expected 2")
46
47
- if not row[0] or not row[1]:
+ if not row[0] or not row[1] or not row[2]:
48
print(f"Error: Row {row_num} has empty values")
49
50
'; then
0 commit comments