소스 검색

Change sections -> columns in error message

pull/3011/head
Matheus Felipe 2 년 전
부모
커밋
7d9eac4920
No known key found for this signature in database GPG 키 ID: AA785C523274872F
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      scripts/validate/format.py

+ 1
- 1
scripts/validate/format.py 파일 보기

@@ -234,7 +234,7 @@ def check_file_format(lines: List[str]) -> List[str]:
num_in_category += 1
segments = line_content.split('|')[1:-1]
if len(segments) < num_segments:
err_msg = error_message(line_num, f'entry does not have all the required sections (have {len(segments)}, need {num_segments})')
err_msg = error_message(line_num, f'entry does not have all the required columns (have {len(segments)}, need {num_segments})')
err_msgs.append(err_msg)
continue


불러오는 중...
취소
저장