Переглянути джерело

Change sections -> columns in error message

pull/3011/head
Matheus Felipe 2 роки тому
джерело
коміт
7d9eac4920
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 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


Завантаження…
Відмінити
Зберегти